From 42bc6c5daf132b3656f04759aa1fa615fe7b26f6 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Wed, 12 Nov 2014 14:37:57 +0600 Subject: ZVISION: Fix incorrect usage of Common::String::format --- engines/zvision/core/save_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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) { -- cgit v1.2.3