debug - avoid duplicae output if to stdout
This commit is contained in:
parent
eeb469ffc5
commit
9caab688f1
|
@ -86,6 +86,7 @@ void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv )
|
||||||
FILE* fout = (FILE*) sinkData;
|
FILE* fout = (FILE*) sinkData;
|
||||||
fputc( bv, fout );
|
fputc( bv, fout );
|
||||||
#if !defined(NDEBUG) && defined(_MSC_VER)
|
#if !defined(NDEBUG) && defined(_MSC_VER)
|
||||||
|
if (fout->_file != 2)
|
||||||
SPRTF("%c",bv);
|
SPRTF("%c",bv);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue