From: ehofman Date: Sun, 11 Dec 2005 12:51:51 +0000 (+0000) Subject: Add a proper return statement for MSVC. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=efea47833d86e4512912d186ae958c0212d4d8a4;p=simgear.git Add a proper return statement for MSVC. --- diff --git a/simgear/debug/logstream.hxx b/simgear/debug/logstream.hxx index 7fee8140..f81cc0b4 100644 --- a/simgear/debug/logstream.hxx +++ b/simgear/debug/logstream.hxx @@ -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;