diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 18:12:40 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-06 18:12:40 +0500 |
| commit | b4995f979d127cea667b4e2b71c91e9db4ab52ef (patch) | |
| tree | fbebc775e10932bace8d6a7c3481b1ba200c64db /src/Fl_Input_Choice.cxx | |
| parent | 9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff) | |
wip
Diffstat (limited to 'src/Fl_Input_Choice.cxx')
| -rw-r--r-- | src/Fl_Input_Choice.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Input_Choice.cxx b/src/Fl_Input_Choice.cxx index 59aeecfe9..6d9f7e05a 100644 --- a/src/Fl_Input_Choice.cxx +++ b/src/Fl_Input_Choice.cxx @@ -343,7 +343,8 @@ void Fl_Input_Choice::clear_changed() { */ int Fl_Input_Choice::update_menubutton() { // Find item in menu - for ( int i=0; i<menu_->size(); i++ ) { + int i; + for (i =0; i<menu_->size(); i++ ) { const Fl_Menu_Item &item = menu_->menu()[i]; if (item.flags & (FL_SUBMENU|FL_SUBMENU_POINTER)) continue; // ignore submenus const char *name = menu_->text(i); |
