moving rollover check, was causing hangs upon termination in case ->top was 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-04-26 20:26:13 +00:00
parent e275abbd9b
commit 146afc4d24
2 changed files with 4 additions and 4 deletions

View File

@@ -101,11 +101,11 @@ void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data )
while ( e->top != index )
{
if ( index == kMaxEvents )
index = 0 ;
if ( e->data[index] == data )
e->data[index] = NULL ;
index++ ;
if ( index == kMaxEvents )
index = 0 ;
}
}

View File

@@ -101,11 +101,11 @@ void wxMacRemoveAllNotifiersForData( wxMacNotifierTableRef table , void* data )
while ( e->top != index )
{
if ( index == kMaxEvents )
index = 0 ;
if ( e->data[index] == data )
e->data[index] = NULL ;
index++ ;
if ( index == kMaxEvents )
index = 0 ;
}
}