Merge pull request #249 from sria91/master

fixed: tidy-html5 debug build fails on VS2015 x64
This commit is contained in:
Geoff McLane 2015-09-11 11:34:28 +02:00
commit c4bac32f5b

View file

@ -86,7 +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) if (_fileno(fout) != 2)
SPRTF("%c",bv); SPRTF("%c",bv);
#endif #endif
} }