- VBE banked mode fixes backported from rbench
[dosdemo] / src / cpuid.c
index b67143a..5a09fc4 100644 (file)
@@ -67,7 +67,7 @@ static const char *cpuname(struct cpuid_info *cpu)
        int model, family;
        char *rd, *wr;
 
-       if(cpu->brandstr) {
+       if(*cpu->brandstr) {
                /* unwank the string */
                rd = wr = cpu->brandstr;
                while(*rd) {