git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@222
7f0cb862-5218-0410-a997-
914c9d46530a
/*
* Is that an active submenu by any case?
*/
- if ( ( menuEntry->SubMenu != NULL ) && menuEntry->SubMenu->IsActive )
+ if ( menuEntry->SubMenu != NULL )
fgDeactivateSubMenu ( menuEntry ) ;
}
/*
* Is that an active submenu by any case?
*/
- if ( ( subMenuIter->SubMenu != NULL ) && subMenuIter->SubMenu->IsActive )
+ if ( subMenuIter->SubMenu != NULL )
fgDeactivateSubMenu ( subMenuIter ) ;
}