[Scummvm-cvs-logs] scummvm branch-1-8 -> 8a9da1be3be45a7793912c25ad5d0859f821008a

zeldin marcus at mc.pp.se
Fri Feb 26 19:20:09 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:
8a9da1be3b DREAMCAST: Re-fix listing of savegames


Commit: 8a9da1be3be45a7793912c25ad5d0859f821008a
    https://github.com/scummvm/scummvm/commit/8a9da1be3be45a7793912c25ad5d0859f821008a
Author: Marcus Comstedt (marcus at mc.pp.se)
Date: 2016-02-26T19:15:05+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