]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
cleanup - reformatting
[wxWidgets.git] / src / common / socket.cpp
index a5b9eff86a8b12630f04bb16152cc682047bebdc..4525cfa2d7acf51f3c292aab5d5dd95960abc214 100644 (file)
@@ -159,7 +159,7 @@ void wxSocketBase::Shutdown()
 {
     // we should be initialized
     wxASSERT_MSG( m_countInit, _T("extra call to Shutdown()") );
-    if ( !--m_countInit )
+    if ( --m_countInit == 0 )
     {
         GSocket_Cleanup();
     }