From efea47833d86e4512912d186ae958c0212d4d8a4 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 11 Dec 2005 12:51:51 +0000 Subject: [PATCH] Add a proper return statement for MSVC. --- simgear/debug/logstream.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5