Subject: readnews.c bug

From: YLu <[email-masked]>
Date: Mon, 20 May 91 11:51:04 BST

There is a bug in the original 'readnews.c' (ahkcus.org) and the
'readgb.c' (?) I modified to display GB codes. The following two
lines should be put before fclose(bitmap); in the main routine.

    if (charcnt > 0)
       putline(charcnt); /* words less than the width */

Also the line:

    fprintf(stderr, "cannot open Big5 file: %s\n", argv[0]);

in 'readgb.c' should be:

    fprintf(stderr, "cannot open GB file: %s\n", argv[0]);

This one won't hurt.

Thanks to Tianmin Zhang ([email-masked]) who pointed out
the bug.