mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +00:00
DIRECTOR: skip setting shortcut key when we only read /
This commit is contained in:
parent
7168e9a491
commit
c57c7b11b2
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user