aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2007-12-08 14:58:06 +0000
committerMarcus Comstedt2007-12-08 14:58:06 +0000
commit7f019cfdee4a425ee892cab3266d41726fa0ac52 (patch)
tree96427b8c1b5820eac02516eff5c22f033929a495 /backends
parentbf2bc3db80030c68325ac3c37ccf692f3b420df2 (diff)
downloadscummvm-rg350-7f019cfdee4a425ee892cab3266d41726fa0ac52.tar.gz
scummvm-rg350-7f019cfdee4a425ee892cab3266d41726fa0ac52.tar.bz2
scummvm-rg350-7f019cfdee4a425ee892cab3266d41726fa0ac52.zip
Fixed bug in glob matching function.
svn-id: r29764
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/vmsave.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp
index 5200cc8a72..cd8d5d4770 100644
--- a/backends/platform/dc/vmsave.cpp
+++ b/backends/platform/dc/vmsave.cpp
@@ -195,6 +195,8 @@ static bool matches(const char *glob, const char *name)
glob++;
name++;
}
+ else
+ return false;
return !*name;
}