summaryrefslogtreecommitdiff
path: root/FL/Fl_Sys_Menu_Bar.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Sys_Menu_Bar.H')
-rw-r--r--FL/Fl_Sys_Menu_Bar.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Sys_Menu_Bar.H b/FL/Fl_Sys_Menu_Bar.H
index c866c083d..61d97fe52 100644
--- a/FL/Fl_Sys_Menu_Bar.H
+++ b/FL/Fl_Sys_Menu_Bar.H
@@ -70,7 +70,7 @@ public:
return insert(index, label, fl_old_shortcut(shortcut), cb, user_data, flags);
}
void remove(int n);
- void replace(int rank, const char *name);
+ void replace(int index, const char *name);
/** Set the Fl_Menu_Item array pointer to null, indicating a zero-length menu.
\see Fl_Menu_::clear()
*/