diff options
-rw-r--r-- | engines/wintermute/utils/utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/utils/utils.cpp b/engines/wintermute/utils/utils.cpp index 3050a36263..05aa34f95f 100644 --- a/engines/wintermute/utils/utils.cpp +++ b/engines/wintermute/utils/utils.cpp @@ -204,12 +204,13 @@ bool BaseUtils::matchesPattern(const char *pattern, const char *string) { return false;
default:
- if (patternc != stringc)
+ if (patternc != stringc) {
if (patternc == '.' && stringc == 0) {
return(BaseUtils::matchesPattern(pattern, string));
} else {
return false;
}
+ }
break;
}
}
|