From 1e9e74224577fbb0389e11d11b361324ac696089 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 26 Jan 2020 19:23:59 +0100 Subject: Fix 2 typos in Fl_Widget::shortcut_label() Doxygen doc. --- FL/Fl_Widget.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 375830f65..cefe4e632 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -1043,7 +1043,7 @@ public: */ void color2(unsigned a) {color2_ = a;} - /** Sets whether the widget's label use '&' to indicate shortcuts. + /** Sets whether the widget's label uses '&' to indicate shortcuts. By default, all objects of classes Fl_Menu_ (and derivatives), Fl_Button (and derivatives), Fl_Text_Display, Fl_Value_Input, and Fl_Input_ (and derivatives) use character '&' in their label, unless '&' is repeated, @@ -1061,7 +1061,7 @@ public: clear_flag(SHORTCUT_LABEL); } - /** Returns whether the widget's label use '&' to indicate shortcuts. + /** Returns whether the widget's label uses '&' to indicate shortcuts. \see void shortcut_label(int value) */ int shortcut_label() const { return flags_ & SHORTCUT_LABEL; } }; -- cgit v1.2.3