diff options
Diffstat (limited to 'engines/wage/menu.cpp')
-rw-r--r-- | engines/wage/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp index 83e610a92d..414d535f5a 100644 --- a/engines/wage/menu.cpp +++ b/engines/wage/menu.cpp @@ -85,7 +85,7 @@ struct MenuData { int action; byte shortcut; bool enabled; -} menuSubItems[] = { +} static const menuSubItems[] = { { kMenuFile, "New", kMenuActionNew, 0, false }, { kMenuFile, "Open...", kMenuActionOpen, 0, false }, { kMenuFile, "Close", kMenuActionClose, 0, true }, @@ -121,7 +121,7 @@ Menu::Menu(Gui *gui) : _gui(gui) { _items.push_back(edit); for (int i = 0; menuSubItems[i].menunum; i++) { - MenuData *m = &menuSubItems[i]; + const MenuData *m = &menuSubItems[i]; _items[m->menunum]->subitems.push_back(new MenuSubItem(m->title, m->action, 0, m->shortcut, m->enabled)); } |