diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp index b46c4116380..2ad58e99e4f 100644 --- a/graphics/macgui/macmenu.cpp +++ b/graphics/macgui/macmenu.cpp @@ -542,7 +542,9 @@ void MacMenu::createSubMenuFromString(int id, const char *str, int commandId) { item.deleteChar(shortPtr - item.c_str()); item.deleteChar(shortPtr - item.c_str()); } else { - error("MacMenu::createSubMenuFromString(): Unexpected shortcut: '%s', item '%s' in menu '%s'", shortPtr, item.c_str(), string.c_str()); + // if we only have one / without shortcut key, we skip it. + item.deleteChar(shortPtr - item.c_str()); + // error("MacMenu::createSubMenuFromString(): Unexpected shortcut: '%s', item '%s' in menu '%s'", shortPtr, item.c_str(), string.c_str()); } }