From bc3437bb159f0930cc9e3340d13173a35ac69e35 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 8 Nov 2010 17:21:02 +0000 Subject: Small documentation fix. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Menu_.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;} -- cgit v1.2.3