From fbc19f3f0b4345d5e2db3416ed3de79593bcef36 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Fri, 27 Jul 2012 18:24:00 +0200 Subject: WINTERMUTE: Fix a Clang-warning --- engines/wintermute/utils/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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; } } -- cgit v1.2.3