mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
Fl_Menu_::find_item() didn't determine the menu path properly
(STR #481) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
CHANGES IN FLTK 1.1.5rc3
|
||||
|
||||
- Fl_Menu_::find_item() didn't determine the menu path
|
||||
properly (STR #481)
|
||||
- The build system now creates image libraries named
|
||||
"libfltk_name.a" instead of "libname.a" to avoid
|
||||
clobbering an existing installed library (STR #480)
|
||||
|
||||
+3
-2
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Menu_.cxx,v 1.7.2.8.2.10 2004/07/27 16:02:21 easysw Exp $"
|
||||
// "$Id: Fl_Menu_.cxx,v 1.7.2.8.2.11 2004/08/09 03:16:22 easysw Exp $"
|
||||
//
|
||||
// Common menu code for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -96,6 +96,7 @@ Fl_Menu_::find_item(const char *name)
|
||||
// END OF SUBMENU? Pop back one level.
|
||||
char *ss = strrchr(menupath, '/');
|
||||
if ( ss ) *ss = 0;
|
||||
else menupath[0] = '\0';
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -224,5 +225,5 @@ void Fl_Menu_::clear() {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Menu_.cxx,v 1.7.2.8.2.10 2004/07/27 16:02:21 easysw Exp $".
|
||||
// End of "$Id: Fl_Menu_.cxx,v 1.7.2.8.2.11 2004/08/09 03:16:22 easysw Exp $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user