]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
clean - reformatting
[wxWidgets.git] / src / common / object.cpp
index 78f63ab0a8e4a0d868835faa003b69657663d5e5..87e3dc1ed78bc0977852256aa609a791338cc180 100644 (file)
@@ -310,7 +310,7 @@ void wxObject::UnRef()
     {
         wxASSERT_MSG( m_refData->m_count > 0, _T("invalid ref data count") );
 
-        if ( !--m_refData->m_count )
+        if ( --m_refData->m_count == 0 )
             delete m_refData;
         m_refData = NULL;
     }