]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
don't compare invalid iterators/node pointers
[wxWidgets.git] / src / msw / dialup.cpp
index 0114b7759e8e41da798a1c1a00a7b119c5424667..074b23c6a52d25336bb5505b5a31890a0fe67443 100644 (file)
@@ -1188,7 +1188,7 @@ void wxDialUpManagerMSW::DisableAutoCheckOnlineStatus()
 {
     wxCHECK_RET( IsOk(), wxT("using uninitialized wxDialUpManager") );
 
-    if ( --m_autoCheckLevel )
+    if ( --m_autoCheckLevel != 0 )
     {
         // still checking
         return;