This commit is contained in:
Bradley Bell 2002-08-26 06:37:32 +00:00
parent 41c90c343f
commit 123e9f29d2

View file

@ -1,4 +1,4 @@
/* $Id: font.c,v 1.19 2002-08-15 08:53:11 btb Exp $ */
/* $Id: font.c,v 1.20 2002-08-26 06:37:32 btb Exp $ */
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
@ -1636,13 +1636,13 @@ grs_font * gr_init_font( char * fontname )
fontfile = cfopen(fontname, "rb");
if (!fontfile) {
con_printf(CON_VERBOSE, "Can't open font file %s", fontname);
con_printf(CON_VERBOSE, "Can't open font file %s\n", fontname);
return NULL;
}
cfread(file_id, 4, 1, fontfile);
if ( !strncmp( file_id, "NFSP", 4 ) ) {
con_printf(CON_NORMAL, "File %s is not a font file", fontname );
con_printf(CON_NORMAL, "File %s is not a font file\n", fontname );
return NULL;
}