From fb79b185717c9aae7c793e7f07d5d6b94aec4abf Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 29 May 2009 14:38:22 +0000 Subject: Changed SaveFileManager methods to take Common::String params (instead of char pointers) svn-id: r41000 --- engines/sky/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sky') diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index 3f01177cec..55c61b8665 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -210,7 +210,7 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { ext.toUppercase(); if (isdigit(ext[0]) && isdigit(ext[1]) && isdigit(ext[2])){ int slotNum = atoi(ext.c_str()); - Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str()); + Common::InSaveFile *in = saveFileMan->openForLoading(*file); if (in) { saveList.push_back(SaveStateDescriptor(slotNum+1, savenames[slotNum])); delete in; -- cgit v1.2.3