diff options
Diffstat (limited to 'src/Fl_Menu.cxx')
| -rw-r--r-- | src/Fl_Menu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
