diff options
author | richiesams | 2013-08-09 18:42:27 -0500 |
---|---|---|
committer | richiesams | 2013-08-09 18:42:27 -0500 |
commit | ed4977848b1761ebfd09db9ea21d744236b813c6 (patch) | |
tree | c845e70aadb837d20de3c6d3c7eb421e4eb62973 /engines/zvision | |
parent | 1b277d34ac9d7b207e7e42964d00dd6f433daadc (diff) | |
download | scummvm-rg350-ed4977848b1761ebfd09db9ea21d744236b813c6.tar.gz scummvm-rg350-ed4977848b1761ebfd09db9ea21d744236b813c6.tar.bz2 scummvm-rg350-ed4977848b1761ebfd09db9ea21d744236b813c6.zip |
ZVISION: Fix invalid argument for String::format()
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/cursor_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/cursor_manager.cpp b/engines/zvision/cursor_manager.cpp index 43d288ea4e..0115ec9d3c 100644 --- a/engines/zvision/cursor_manager.cpp +++ b/engines/zvision/cursor_manager.cpp @@ -74,7 +74,7 @@ void CursorManager::changeCursor(Common::String &cursorName, bool pushed) { if (_cursorNames[i] == cursorName) { // ZNem uses a/b at the end of the file to signify not pushed/pushed respectively Common::String pushedFlag = pushed ? "b" : "a"; - Common::String name = Common::String::format("%s%s.zcr", _zNemCursorFileNames[i], pushedFlag); + Common::String name = Common::String::format("%s%s.zcr", _zNemCursorFileNames[i], pushedFlag.c_str()); changeCursor(ZorkCursor(name)); return; |