diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 18:24:00 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 18:24:00 +0200 |
commit | fbc19f3f0b4345d5e2db3416ed3de79593bcef36 (patch) | |
tree | 449b47888d39475a2a89549ffc416c3eb733cb65 | |
parent | f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4 (diff) | |
download | scummvm-rg350-fbc19f3f0b4345d5e2db3416ed3de79593bcef36.tar.gz scummvm-rg350-fbc19f3f0b4345d5e2db3416ed3de79593bcef36.tar.bz2 scummvm-rg350-fbc19f3f0b4345d5e2db3416ed3de79593bcef36.zip |
WINTERMUTE: Fix a Clang-warning
-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;
}
}
|