cmRpt.c : Fixed bug in _cmDefaultPrint() where stdin was used with fputs() instead of stdout.
This commit is contained in:
parent
69f364a5fc
commit
acf2a85ff8
2
cmRpt.c
2
cmRpt.c
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user