projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaned up the comments a bit in the callbacks.c file (mostly removed some
[freeglut]
/
src
/
freeglut_menu.c
diff --git
a/src/freeglut_menu.c
b/src/freeglut_menu.c
index
1194908
..
a0b544c
100644
(file)
--- a/
src/freeglut_menu.c
+++ b/
src/freeglut_menu.c
@@
-638,7
+638,7
@@
void fgDeactivateMenu( SFG_Window *window )
/*
* Is that an active submenu by any case?
*/
/*
* Is that an active submenu by any case?
*/
- if ( ( menuEntry->SubMenu != NULL ) && menuEntry->SubMenu->IsActive )
+ if ( menuEntry->SubMenu != NULL )
fgDeactivateSubMenu ( menuEntry ) ;
}
fgDeactivateSubMenu ( menuEntry ) ;
}
@@
-673,7
+673,7
@@
void fgDeactivateSubMenu( SFG_MenuEntry *menuEntry )
/*
* Is that an active submenu by any case?
*/
/*
* Is that an active submenu by any case?
*/
- if ( ( subMenuIter->SubMenu != NULL ) && subMenuIter->SubMenu->IsActive )
+ if ( subMenuIter->SubMenu != NULL )
fgDeactivateSubMenu ( subMenuIter ) ;
}
fgDeactivateSubMenu ( subMenuIter ) ;
}