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
1 changed files with 1 additions and 1 deletions

View File

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