diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/Fl_Menu.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CHANGES IN FLTK 1.3.1 + - Fixed Fl_Menu issue with unusual menu flags (STR #2680) - Fixed Windows DLL import of fl_xid() (STR #2670) CHANGES IN FLTK 1.3.0 diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index b1eb8d750..e2fe0936d 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -72,7 +72,7 @@ const Fl_Menu_Item* Fl_Menu_Item::next(int n) const { if (!m->visible()) n++; while (n) { m = next_visible_or_not(m); - if (m->visible()) n--; + if (m->visible() || !m->text) n--; } return m; } |
