summaryrefslogtreecommitdiff
path: root/fluid/Fl_Menu_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-08-26 15:17:28 +0200
committerMatthias Melcher <github@matthiasm.com>2023-08-26 15:17:28 +0200
commit94a75b012f3557687574df6533296c1a4ef51b3e (patch)
tree5e2db2271774bda929f2d66739974fa8fbffe0cb /fluid/Fl_Menu_Type.cxx
parentd9d474c59372a8b2b0829c400b5d0584129e3822 (diff)
Fixes a bunch of typos in comments.
Diffstat (limited to 'fluid/Fl_Menu_Type.cxx')
-rw-r--r--fluid/Fl_Menu_Type.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Menu_Type.cxx b/fluid/Fl_Menu_Type.cxx
index 75679e835..4b219671b 100644
--- a/fluid/Fl_Menu_Type.cxx
+++ b/fluid/Fl_Menu_Type.cxx
@@ -7,7 +7,7 @@
// This file also contains code to make Fl_Menu_Button, Fl_Menu_Bar,
// etc widgets.
//
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2023 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -105,7 +105,7 @@ void Fl_Input_Choice_Type::build_menu() {
}
// Menus are already built during the .fl file reading process, so if the
// end of a menu list is not read yet, the end markers (label==NULL) will
- // not be set, and deleting dependants will randomly free memory.
+ // not be set, and deleting dependents will randomly free memory.
// Clearing the array should avoid that.
memset( (void*)w->menu(), 0, menusize * sizeof(Fl_Menu_Item) );
// fill them all in:
@@ -556,7 +556,7 @@ void Fl_Menu_Base_Type::build_menu() {
}
// Menus are already built during the .fl file reading process, so if the
// end of a menu list is not read yet, the end markers (label==NULL) will
- // not be set, and deleting dependants will randomly free memory.
+ // not be set, and deleting dependents will randomly free memory.
// Clearing the array should avoid that.
memset( (void*)w->menu(), 0, menusize * sizeof(Fl_Menu_Item) );
// fill them all in: