couple of minor bug fixes/enhancements (interface unchanged)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-08-07 22:03:16 +00:00
parent 7c78e7c702
commit d93f63db9d
3 changed files with 5 additions and 4 deletions

View File

@@ -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);