// pause the stop watch
void Pause()
{
- if ( !m_pauseCount++ )
+ if ( m_pauseCount++ == 0 )
m_pause = GetElapsedTime();
}
wxASSERT_MSG( m_pauseCount > 0,
_T("Resuming stop watch which is not paused") );
- if ( !--m_pauseCount )
+ if ( --m_pauseCount == 0 )
Start(m_pause);
}