mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +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;
|
bool enabled = true;
|
||||||
int style = 0;
|
int style = 0;
|
||||||
char shortcut = 0;
|
char shortcut = 0;
|
||||||
const char *shortptr = strrchr(item.c_str(), '/');
|
const char *shortPtr = strrchr(item.c_str(), '/');
|
||||||
if (shortptr != NULL) {
|
if (shortPtr != NULL) {
|
||||||
if (strlen(shortptr) == 2) {
|
if (strlen(shortPtr) == 2) {
|
||||||
shortcut = shortptr[1];
|
shortcut = shortPtr[1];
|
||||||
item.deleteLastChar();
|
item.deleteLastChar();
|
||||||
item.deleteLastChar();
|
item.deleteLastChar();
|
||||||
} else {
|
} 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