From 884d770ab530ad81943366cd6c1588d9c0602b38 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 3 Jun 1998 16:34:39 +0000 Subject: [PATCH] bug preventing compilation of wxLogGui under !Windows corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/log.cpp b/src/common/log.cpp index d523a74f5d..5f9ac6c643 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -454,8 +454,8 @@ void wxLogGui::DoLog(wxLogLevel level, const char *szString) OutputDebugString("\n\r"); #else //!WIN32 // send them to stderr - printf(stderr, level == Trace ? "Trace: %s\n" - : "Debug: %s\n", szString); + fprintf(stderr, level == wxLOG_Trace ? "Trace: %s\n" + : "Debug: %s\n", szString); fflush(stderr); #endif // WIN32 #endif -- 2.45.2