X-Git-Url: http://git.shiar.net/unifont.git/blobdiff_plain/7c29a68c187ca8c0ef5cf975b874a91d0f227800..fc551ca87db118182bb4292bc08fc5fc03ea3f89:/src/unifontpic.c diff --git a/src/unifontpic.c b/src/unifontpic.c index 0796e9c..1c987d4 100644 --- a/src/unifontpic.c +++ b/src/unifontpic.c @@ -27,7 +27,7 @@ #define MAXSTRING 256 -#define HEADER_STRING "GNU Unifont 6.3" /* 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]; /*