]> git.mxchange.org Git - simgear.git/commitdiff
Add a proper return statement for MSVC.
authorehofman <ehofman>
Sun, 11 Dec 2005 12:51:51 +0000 (12:51 +0000)
committerehofman <ehofman>
Sun, 11 Dec 2005 12:51:51 +0000 (12:51 +0000)
simgear/debug/logstream.hxx

index 7fee81402c4f7b6be23f7f29c585f5a0362cf546..f81cc0b44abfe95ac4411e5b14d7bb604936d44f 100644 (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;