Commit 55f0a280 by Alan Mishchenko

Bug fix in reading box library.

parent 259d53ca
...@@ -250,7 +250,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName ) ...@@ -250,7 +250,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
char * If_LibBoxGetToken( FILE * pFile ) char * If_LibBoxGetToken( FILE * pFile )
{ {
static char pBuffer[1000]; static char pBuffer[1000];
char c, * pTemp = pBuffer; int c; char * pTemp = pBuffer;
while ( (c = fgetc(pFile)) != EOF ) while ( (c = fgetc(pFile)) != EOF )
{ {
if ( c == '#' ) if ( c == '#' )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment