diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-08-10 16:49:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 16:49:40 -0700 |
commit | f649c4a1d545392fd089bf025659ef910c358837 (patch) | |
tree | f9b0eabefa7b1992f2fb9cc1c081631d7ca8e65a | |
parent | 209fc8d71826ab41cd21fd4400088b297903bb13 (diff) | |
parent | ef025143368a8ba0972f899a1ee2d8f753e2d54b (diff) |
Merge pull request #437 from bp0/inputdevlinks
input devices fix vendor links
-rw-r--r-- | modules/devices/inputdevices.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/devices/inputdevices.c b/modules/devices/inputdevices.c index f3bacf5e..58fb2117 100644 --- a/modules/devices/inputdevices.c +++ b/modules/devices/inputdevices.c @@ -96,7 +96,8 @@ __scan_input_devices(void) input_devices[d].icon); gchar *v_str = vendor_get_link(name); - v_str = hardinfo_clean_value(v_str, 1); + if (g_strcmp0(v_str, name) == 0) + v_str = hardinfo_clean_value(v_str, 1); name = hardinfo_clean_value(name, 1); gchar *strhash = g_strdup_printf("[%s]\n" |