X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3622daa901777a33969d8bc04e2d62dee14d164..c1066cdf62de692cec3b61f68da35263aa17b1c0:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index aba5c2c1f2..4eb067ff36 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -153,7 +153,7 @@ void wxLogVerbose(const char *szFormat, ...) // we check that all of mask bits are set in the current mask, so // that wxLogTrace(wxTraceRefCount | wxTraceOle) will only do something // if both bits are set. - if ( pLog != NULL && (pLog->GetTraceMask() & mask == mask) ) { + if ( pLog != NULL && ((pLog->GetTraceMask() & mask) == mask) ) { va_list argptr; va_start(argptr, szFormat); vsprintf(s_szBuf, szFormat, argptr);