debug - avoid duplicae output if to stdout

This commit is contained in:
Geoff McLane 2015-03-09 16:12:59 +01:00
parent eeb469ffc5
commit 9caab688f1

View file

@ -86,6 +86,7 @@ void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv )
FILE* fout = (FILE*) sinkData;
fputc( bv, fout );
#if !defined(NDEBUG) && defined(_MSC_VER)
if (fout->_file != 2)
SPRTF("%c",bv);
#endif
}