Add a proper return statement for MSVC.

This commit is contained in:
ehofman
2005-12-11 12:51:51 +00:00
parent 24ea08b6d3
commit efea47833d

View File

@@ -194,7 +194,7 @@ logbuf::overflow( int c )
freopen("conout$", "w", stderr);
has_console = true;
}
sbuf->sputc(c);
return sbuf->sputc(c);
}
else
return EOF == 0 ? 1: 0;