diff options
-rw-r--r-- | hardinfo/gpu_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/gpu_util.c b/hardinfo/gpu_util.c index dd1845a0..fb37c0cb 100644 --- a/hardinfo/gpu_util.c +++ b/hardinfo/gpu_util.c @@ -151,7 +151,7 @@ static void make_nice_name(gpud *s) { /* try and a get a "short name" for the vendor */ const Vendor *v = vendor_match(vendor_str, NULL); - if (v && v->name_short) + if (v && v->name_short && *v->name_short != 0) vendor_str = v->name_short; /* These two former special cases are currently handled by the vendor_match() |