XSVF: Fix apparent #ifdef scope bug in xsvfDoXCOMMENT() where comments aren't truly ignored.
This commit is contained in:
@ -1560,16 +1560,18 @@ int xsvfDoXCOMMENT( SXsvfInfo* pXsvfInfo )
|
|||||||
{
|
{
|
||||||
putchar( ' ' );
|
putchar( ' ' );
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
readByte( &ucText );
|
readByte( &ucText );
|
||||||
|
#ifdef DEBUG_MODE
|
||||||
if ( xsvf_iDebugLevel > 0 )
|
if ( xsvf_iDebugLevel > 0 )
|
||||||
{
|
{
|
||||||
putchar( ucText ? ucText : '\n' );
|
putchar( ucText ? ucText : '\n' );
|
||||||
}
|
}
|
||||||
} while ( ucText );
|
|
||||||
#endif
|
#endif
|
||||||
|
} while ( ucText );
|
||||||
|
|
||||||
pXsvfInfo->iErrorCode = XSVF_ERROR_NONE;
|
pXsvfInfo->iErrorCode = XSVF_ERROR_NONE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user