Fix incorrect flush error check in fputc_unlocked(3).

This commit is contained in:
Jonas 'Sortie' Termansen 2015-11-22 00:32:43 +01:00
parent 1acf16dea0
commit ef36a94912
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ extern "C" int fputc_unlocked(int c, FILE* fp)
if ( fp->amount_output_buffered == fp->buffersize )
{
if ( !fflush_unlocked(fp) == EOF )
if ( fflush_unlocked(fp) == EOF )
return EOF;
}