mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
WAGE: Rename to match our naming conventions
This commit is contained in:
parent
5e21a82c1e
commit
d91b52052d
@ -202,14 +202,14 @@ void Menu::createCommandsMenu(MenuItem *menu) {
|
||||
bool enabled = true;
|
||||
int style = 0;
|
||||
char shortcut = 0;
|
||||
const char *shortptr = strrchr(item.c_str(), '/');
|
||||
if (shortptr != NULL) {
|
||||
if (strlen(shortptr) == 2) {
|
||||
shortcut = shortptr[1];
|
||||
const char *shortPtr = strrchr(item.c_str(), '/');
|
||||
if (shortPtr != NULL) {
|
||||
if (strlen(shortPtr) == 2) {
|
||||
shortcut = shortPtr[1];
|
||||
item.deleteLastChar();
|
||||
item.deleteLastChar();
|
||||
} else {
|
||||
error("Unexpected shortcut: '%s', item '%s' in menu '%s'", shortptr, item.c_str(), string.c_str());
|
||||
error("Unexpected shortcut: '%s', item '%s' in menu '%s'", shortPtr, item.c_str(), string.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user