diff options
author | Eugene Sandulenko | 2016-02-14 17:12:30 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:30 +0100 |
commit | d9187245680911442c30d9dee3bf1eb40f44db7c (patch) | |
tree | a61115814356391140374da6ea6e8a60f264d75d | |
parent | 0c6b063f1ef472a11ddc3714f720ffc4be697739 (diff) | |
download | scummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.tar.gz scummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.tar.bz2 scummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.zip |
WAGE: Fix compilation on some platforms
-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]; |