aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 17:08:09 +0100
committerEugene Sandulenko2016-02-14 17:12:45 +0100
commit540a2e78e5f4b00c705ec1c6e89fede4e7b0a373 (patch)
treeba905a3b2cfa0c1c46b2ce3e37e407616d6ca565 /engines/wage
parent402a9cf8efe6e040b5892cf80b613d907ed01931 (diff)
downloadscummvm-rg350-540a2e78e5f4b00c705ec1c6e89fede4e7b0a373.tar.gz
scummvm-rg350-540a2e78e5f4b00c705ec1c6e89fede4e7b0a373.tar.bz2
scummvm-rg350-540a2e78e5f4b00c705ec1c6e89fede4e7b0a373.zip
WAGE: Fix compilation on some platforms
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 640feed0f0..79e428a1a8 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -496,7 +496,7 @@ const char *World::getAboutMenuItemName() {
sprintf(menu, "About %s...", _name.c_str());
} else { // Replace '@' with name
const char *str = _aboutMenuItemName.c_str();
- char *pos = strchr(str, '@');
+ const char *pos = strchr(str, '@');
if (pos) {
strncat(menu, str, (pos - str));
strcat(menu, _name.c_str());