summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--documentation/src/editor.dox2
-rw-r--r--test/editor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/src/editor.dox b/documentation/src/editor.dox
index 299af9ff6..fb93e63b7 100644
--- a/documentation/src/editor.dox
+++ b/documentation/src/editor.dox
@@ -979,7 +979,7 @@ set correctly. Lastly, we add a menu item with a callback.
app_window->end();
app_window->resizable(app_tile);
app_tile->resizable(app_editor);
- app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
+ app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
}
\endcode
diff --git a/test/editor.cxx b/test/editor.cxx
index 360e3eed7..043066108 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -658,7 +658,7 @@ void tut9_split_editor() {
app_window->end();
app_window->resizable(app_tile);
app_tile->resizable(app_editor);
- app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
+ app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
}
#endif