diff options
author | Eugene Sandulenko | 2016-02-14 17:08:09 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:45 +0100 |
commit | 540a2e78e5f4b00c705ec1c6e89fede4e7b0a373 (patch) | |
tree | ba905a3b2cfa0c1c46b2ce3e37e407616d6ca565 /engines/wage | |
parent | 402a9cf8efe6e040b5892cf80b613d907ed01931 (diff) | |
download | scummvm-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.cpp | 2 |
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()); |