cmRpt.c : Fixed bug in _cmDefaultPrint() where stdin was used with fputs() instead of stdout.

This commit is contained in:
kevin 2015-11-19 19:03:37 -05:00
parent 69f364a5fc
commit acf2a85ff8

View File

@ -11,7 +11,7 @@ cmRpt_t cmRptNull = { NULL, NULL, NULL };
void _cmDefaultPrint( void* userPtr, const cmChar_t* text ) void _cmDefaultPrint( void* userPtr, const cmChar_t* text )
{ {
if( text != NULL ) if( text != NULL )
fputs(text,stdin); fputs(text,stdout);
} }
void _cmDefaultError( void* userPtr, const cmChar_t* text ) void _cmDefaultError( void* userPtr, const cmChar_t* text )