aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-08 10:16:18 +0200
committerEugene Sandulenko2016-06-08 10:16:18 +0200
commit044f8b206350f84828b55b524d5698ba15089836 (patch)
tree10511eea7964c56dbc158007a4b190a25d2c4788
parent858a31102f58e31a8b8be55c33b5f439b64e5937 (diff)
downloadscummvm-rg350-044f8b206350f84828b55b524d5698ba15089836.tar.gz
scummvm-rg350-044f8b206350f84828b55b524d5698ba15089836.tar.bz2
scummvm-rg350-044f8b206350f84828b55b524d5698ba15089836.zip
PRINCE: Use # as savefile matching pattern
-rw-r--r--engines/prince/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/saveload.cpp b/engines/prince/saveload.cpp
index 46e598be70..d3360badd1 100644
--- a/engines/prince/saveload.cpp
+++ b/engines/prince/saveload.cpp
@@ -63,7 +63,7 @@ SaveStateList PrinceMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String pattern = target;
- pattern += ".???";
+ pattern += ".###";
filenames = saveFileMan->listSavefiles(pattern);
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)