[Scummvm-cvs-logs] scummvm master -> 9d2d0cafd885bfb469f4ab4a5296a05d007a54c6
zeldin
marcus at mc.pp.se
Fri Feb 26 19:21:02 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9d2d0cafd8 DREAMCAST: Re-fix listing of savegames
Commit: 9d2d0cafd885bfb469f4ab4a5296a05d007a54c6
https://github.com/scummvm/scummvm/commit/9d2d0cafd885bfb469f4ab4a5296a05d007a54c6
Author: Marcus Comstedt (marcus at mc.pp.se)
Date: 2016-02-26T19:20:45+01:00
Commit Message:
DREAMCAST: Re-fix listing of savegames
The roles of the pattern and filename were reversed, so fixed that.
Changed paths:
backends/platform/dc/vmsave.cpp
diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp
index d7602bd..75fc1ed 100644
--- a/backends/platform/dc/vmsave.cpp
+++ b/backends/platform/dc/vmsave.cpp
@@ -182,7 +182,7 @@ static void tryList(const Common::String &glob, int vm, Common::StringArray &lis
char buf[16];
strncpy(buf, (char *)de.entry+4, 12);
buf[12] = 0;
- if (glob.matchString(buf))
+ if (Common::matchString(buf, glob.c_str()))
list.push_back(buf);
}
}
More information about the Scummvm-git-logs
mailing list