unifont-8.0.01.tar.gz
[unifont.git] / src / unifontpic.c
index 258b2843bb47f2262678c514f3ff4da0d1a929fb..1c987d4a1336760496ef79d5dba0303cc1d507e4 100644 (file)
@@ -27,7 +27,7 @@
 
 #define MAXSTRING 256
 
-#define HEADER_STRING "GNU Unifont 7.0" /* to be printed as chart title */
+#define HEADER_STRING "GNU Unifont 8.0" /* to be printed as chart title */
 
 /*
    Stylistic Note:
@@ -126,7 +126,7 @@ gethex (int bitarray[0x10000][16])
    */
    while (fgets (instring, MAXSTRING, stdin) != NULL) {
       sscanf (instring, "%X", &codept);
-      for (i = 0; (instring[i] != ':') && (i < 9); i++); /* find the colon separator */
+      for (i = 0; (i < 9) && (instring[i] != ':'); i++); /* find the colon separator */
       i++; /* position past it */
       bitstring = &instring[i];
       /*