diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp index a8fa2b27da..559ace1c7c 100644 --- a/engines/wage/menu.cpp +++ b/engines/wage/menu.cpp @@ -207,7 +207,7 @@ MenuItem *Menu::createCommandsMenu() { bool enabled = true; int style = 0; char shortcut = 0; - char *shortptr = strrchr(item.c_str(), '/'); + const char *shortptr = strrchr(item.c_str(), '/'); if (shortptr != NULL) { if (strlen(shortptr) == 2) { shortcut = shortptr[1]; |