summaryrefslogtreecommitdiff
path: root/src/Fl_Menu.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-06-15 20:24:41 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-06-15 20:24:41 +0000
commit5573c35ff15e7f646404b2dfc9806250f64fd3af (patch)
treefc616ec255676644088c97b94382c7790176a6cf /src/Fl_Menu.cxx
parent769b35770ab4a91e905797f12e51375eb790dec7 (diff)
Fix spelling errors and improve documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Menu.cxx')
-rw-r--r--src/Fl_Menu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx
index 661684c35..1b9df5f83 100644
--- a/src/Fl_Menu.cxx
+++ b/src/Fl_Menu.cxx
@@ -350,7 +350,7 @@ menuwindow::menuwindow(const Fl_Menu_Item* m, int X, int Y, int Wp, int Hp,
if (w1 > W) W = w1;
// calculate the maximum width of all shortcuts
if (m->shortcut_) {
- // s is a pointerto the utf8 string for the entire shortcut
+ // s is a pointer to the UTF-8 string for the entire shortcut
// k points only to the key part (minus the modifier keys)
const char *k, *s = fl_shortcut_label(m->shortcut_, &k);
if (fl_utf_nb_char((const unsigned char*)k, (int) strlen(k))<=4) {