diff options
Diffstat (limited to 'hardinfo')
-rw-r--r-- | hardinfo/gpu_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hardinfo/gpu_util.c b/hardinfo/gpu_util.c index 6bf2ac2d..b203b426 100644 --- a/hardinfo/gpu_util.c +++ b/hardinfo/gpu_util.c @@ -234,9 +234,7 @@ static void make_nice_name(gpud *s) { nice_name_intel_gpu_device(device_str_clean); s->nice_name = g_strdup_printf("%s %s", vendor_str, device_str_clean); g_free(device_str_clean); - } - - if (strstr(vendor_str, "AMD")) { + } else if (strstr(vendor_str, "AMD")) { /* AMD PCI strings are crazy stupid because they use the exact same * chip and device id for a zillion "different products" */ char *full_name = strdup(device_str); |