summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Menu_.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H
index 8f3b64449..7cb4cd18e 100644
--- a/FL/Fl_Menu_.H
+++ b/FL/Fl_Menu_.H
@@ -116,7 +116,7 @@ public:
the new value is different than the old one.
*/
int value(int i) {return value(menu_+i);}
- /** Returns the title of the last item chosen, or of item i. */
+ /** Returns the title of the last item chosen. */
const char *text() const {return value_ ? value_->text : 0;}
/** Returns the title of the last item chosen, or of item i. */
const char *text(int i) const {return menu_[i].text;}