DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2335
Version: 1.3-current





Link: http://www.fltk.org/str.php?L2335
Version: 1.3-current
Index: Fl_Menu_.cxx
===================================================================
--- Fl_Menu_.cxx        (revision 7268)
+++ Fl_Menu_.cxx        (working copy)
@@ -79,6 +79,7 @@
        if ( m->submenu() ) {                           // submenu? descend
            if (*name) SAFE_STRCAT("/");
            if (m->label()) SAFE_STRCAT(m->label());
+           if ( m == finditem ) return(0);             // found? done.
        } else {
            if (m->label()) {                           // menu item?
                if ( m == finditem ) {                  // found? tack on 
itemname, done.
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to