]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
fix for wxPathList::FindValidPath() for wxUSE_STL
[wxWidgets.git] / src / common / event.cpp
index e4401d231ffb4cb1b74d3745f2d95d4a940b25c1..6da2424443fd3dc654650f555e38a7888c45e379 100644 (file)
@@ -1139,7 +1139,7 @@ void wxEvtHandler::ProcessPendingEvents()
 
         wxENTER_CRIT_SECT( Lock() );
 
-        if ( !--n )
+        if ( --n == 0 )
             break;
     }