aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-06 12:22:22 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitf1a56eaf3666a6535ff0d1654e4e014249933452 (patch)
treee48d1598f023d0915fb3d559fb6648b0f6d3e1a0 /backends/saves
parent6c5a8f34eaf5fe6af0d885cb162b5ebf193030f8 (diff)
downloadscummvm-rg350-f1a56eaf3666a6535ff0d1654e4e014249933452.tar.gz
scummvm-rg350-f1a56eaf3666a6535ff0d1654e4e014249933452.tar.bz2
scummvm-rg350-f1a56eaf3666a6535ff0d1654e4e014249933452.zip
GUI: Show "locked" saves during sync
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/default/default-saves.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp
index a11d687c16..a669c2ce81 100644
--- a/backends/saves/default/default-saves.cpp
+++ b/backends/saves/default/default-saves.cpp
@@ -75,9 +75,7 @@ Common::StringArray DefaultSaveFileManager::listSavefiles(const Common::String &
Common::HashMap<Common::String, bool> locked;
for (Common::StringArray::const_iterator i = _lockedFiles.begin(), end = _lockedFiles.end(); i != end; ++i) {
- if (i->matchString(pattern, true)) {
- locked[*i] = true;
- }
+ locked[*i] = true;
}
Common::StringArray results;