diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-11-08 17:21:02 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-11-08 17:21:02 +0000 |
| commit | bc3437bb159f0930cc9e3340d13173a35ac69e35 (patch) | |
| tree | 4fbaa9b365ae9053923fa10b5b0c428746dc117b /FL | |
| parent | 6fbc3f3556f8e9acc734235a4fa4d7b56e3793f2 (diff) | |
Small documentation fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Menu_.H | 2 |
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;} |
