From 41f44cca0a5130f104aaeefad1f07a39a1491c0f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 6 May 2006 18:45:13 +0000 Subject: [PATCH] typo: PrintfInLogBug() was probably supposed to be called PrintfInLogBuf() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/log.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/log.cpp b/src/common/log.cpp index a669a88cb9..dd6b355044 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -110,7 +110,7 @@ static inline bool IsLoggingEnabled() // ---------------------------------------------------------------------------- // wrapper for wxVsnprintf(s_szBuf) which always NULL-terminates it -static inline void PrintfInLogBug(const wxChar *szFormat, va_list argptr) +static inline void PrintfInLogBuf(const wxChar *szFormat, va_list argptr) { if ( wxVsnprintf(s_szBuf, s_szBufSize, szFormat, argptr) < 0 ) { @@ -126,7 +126,7 @@ void wxVLogGeneric(wxLogLevel level, const wxChar *szFormat, va_list argptr) if ( IsLoggingEnabled() ) { wxCRIT_SECT_LOCKER(locker, gs_csLogBuf); - PrintfInLogBug(szFormat, argptr); + PrintfInLogBuf(szFormat, argptr); wxLog::OnLog(level, s_szBuf, time(NULL)); } @@ -146,7 +146,7 @@ void wxLogGeneric(wxLogLevel level, const wxChar *szFormat, ...) if ( IsLoggingEnabled() ) { \ wxCRIT_SECT_LOCKER(locker, gs_csLogBuf); \ \ - PrintfInLogBug(szFormat, argptr); \ + PrintfInLogBuf(szFormat, argptr); \ \ wxLog::OnLog(wxLOG_##level, s_szBuf, time(NULL)); \ } \ -- 2.45.2