diff options
| author | Marisa-Chan | 2014-11-12 14:37:57 +0600 | 
|---|---|---|
| committer | Marisa-Chan | 2014-11-12 14:37:57 +0600 | 
| commit | 42bc6c5daf132b3656f04759aa1fa615fe7b26f6 (patch) | |
| tree | d9ba5ac7e60a7d98c43c5ff598955629a3f4fc53 /engines | |
| parent | 7d92b44e09809f559db96ec029a6258d23d84fd0 (diff) | |
| download | scummvm-rg350-42bc6c5daf132b3656f04759aa1fa615fe7b26f6.tar.gz scummvm-rg350-42bc6c5daf132b3656f04759aa1fa615fe7b26f6.tar.bz2 scummvm-rg350-42bc6c5daf132b3656f04759aa1fa615fe7b26f6.zip  | |
ZVISION: Fix incorrect usage of Common::String::format
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/zvision/core/save_manager.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/core/save_manager.cpp b/engines/zvision/core/save_manager.cpp index 6e8b6b5ff3..2797b940a0 100644 --- a/engines/zvision/core/save_manager.cpp +++ b/engines/zvision/core/save_manager.cpp @@ -219,9 +219,9 @@ Common::SeekableReadStream *SaveManager::getSlotFile(uint slot) {  		// Try to load standart save file  		Common::String filename;  		if (_engine->getGameId() == GID_GRANDINQUISITOR) -			filename.format("inqsav%u.sav", slot); +			filename = Common::String::format("inqsav%u.sav", slot);  		else if (_engine->getGameId() == GID_NEMESIS) -			filename.format("nemsav%u.sav", slot); +			filename = Common::String::format("nemsav%u.sav", slot);  		saveFile = _engine->getSearchManager()->openFile(filename);  		if (saveFile == NULL) {  | 
