aboutsummaryrefslogtreecommitdiff
path: root/engines/composer
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-26 01:26:15 +0200
committerAdrian Frühwirth2018-03-26 01:26:15 +0200
commitb4fcb24c67ee90b8f88f0ff699f75ec0cd3f02fe (patch)
tree72d2b09777c0a19e72f9d9aa2e5a9e17598b1bd9 /engines/composer
parentf026186cdf20c6df24d16b8b99ee03922b5e75f9 (diff)
downloadscummvm-rg350-b4fcb24c67ee90b8f88f0ff699f75ec0cd3f02fe.tar.gz
scummvm-rg350-b4fcb24c67ee90b8f88f0ff699f75ec0cd3f02fe.tar.bz2
scummvm-rg350-b4fcb24c67ee90b8f88f0ff699f75ec0cd3f02fe.zip
COMPOSER: Be strict about matching digits in savegame filenames
Diffstat (limited to 'engines/composer')
-rw-r--r--engines/composer/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/composer/detection.cpp b/engines/composer/detection.cpp
index 72a8f8256f..c90dfe5131 100644
--- a/engines/composer/detection.cpp
+++ b/engines/composer/detection.cpp
@@ -511,7 +511,7 @@ SaveStateList ComposerMetaEngine::listSaves(const char *target) const {
Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
Common::StringArray filenames;
Common::String saveDesc;
- Common::String pattern = Common::String::format("%s.??", target);
+ Common::String pattern = Common::String::format("%s.##", target);
filenames = saveFileMan->listSavefiles(pattern);