From a9eb8677fee8c32b9292b30c92cadb3882123800 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 26 Nov 2013 21:35:13 -0800 Subject: Explanation for one assetion. --- src/map/if/ifLibBox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/if') diff --git a/src/map/if/ifLibBox.c b/src/map/if/ifLibBox.c index f7e2f8fe..799d2aed 100644 --- a/src/map/if/ifLibBox.c +++ b/src/map/if/ifLibBox.c @@ -222,7 +222,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName ) while ( pToken == NULL ) { if ( fgets( pBuffer, nSize, pFile ) == NULL ) - assert( 0 ); + { printf( "The table does not have enough entries.\n" ); fflush(stdout); assert( 0 ); } pToken = strtok( pBuffer, " \n\r\t" ); } pBox->pDelays[i] = (pToken[0] == '-') ? -1 : atoi(pToken); -- cgit v1.2.3