Fix parameters of readfontchar()

Found by inspection, the absence of function prototypes cause the compiler
to not issue a warning about this problem.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka
2011-01-16 11:09:44 -02:00
parent 5f7350cae5
commit 96756a169e

@ -1104,11 +1104,9 @@ void clearline()
****************************************************************************/ ****************************************************************************/
void readfontchar(file,theord,line,maxlen) void readfontchar(file,theord)
ZFILE *file; ZFILE *file;
inchr theord; inchr theord;
outchr *line; /* FIXME: line isn't used */
int maxlen;
{ {
int row,k; int row,k;
char templine[MAXLEN+1]; char templine[MAXLEN+1];
@ -1122,7 +1120,7 @@ int maxlen;
fcharlist->next = fclsave; fcharlist->next = fclsave;
for (row=0;row<charheight;row++) { for (row=0;row<charheight;row++) {
if (myfgets(templine,maxlen+1,file)==NULL) { if (myfgets(templine,MAXLEN,file)==NULL) {
templine[0] = '\0'; templine[0] = '\0';
} }
#ifdef TLF_FONTS #ifdef TLF_FONTS