1 --- console-tools-0.3.3/fontfiletools/psfgettable.c.jj Wed Aug 25 22:58:14 1999
2 +++ console-tools-0.3.3/fontfiletools/psfgettable.c Mon Mar 6 15:15:42 2000
3 @@ -100,6 +100,7 @@ int main(int argc, char *argv[])
7 + unsigned char buf[2];
11 @@ -158,8 +159,8 @@ int main(int argc, char *argv[])
13 fprintf(out, "0x%03x\t", glyph);
15 - while ( fread(&unichar, sizeof(unicode), 1, in),
16 - unichar != PSF_SEPARATOR )
17 + while ( fread(buf, sizeof(buf), 1, in),
18 + (unichar = buf[0] + 256 * buf[1]) != PSF_SEPARATOR )
19 fprintf(out, " U+%04x", unichar);