X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbd3c46d3215e5c28430982452fd49a93507cfc1..6493aacaeb7b22b9fa35c559f7753e9fec0da71f:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index 0114b7759e..074b23c6a5 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -1188,7 +1188,7 @@ void wxDialUpManagerMSW::DisableAutoCheckOnlineStatus() { wxCHECK_RET( IsOk(), wxT("using uninitialized wxDialUpManager") ); - if ( --m_autoCheckLevel ) + if ( --m_autoCheckLevel != 0 ) { // still checking return;