aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index e275007c2d..a138a80c85 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -342,7 +342,7 @@ GameDescriptor GameDetector::findGame(const String &gameName, const Plugin **plu
boolValue = !strcmp(s, longCmd); \
s += boolValue ? (sizeof(longCmd) - 1) : (sizeof("no-"longCmd) - 1); \
} \
- if (*s != '\0') goto unknownOption;
+ if (*s != '\0') goto unknownOption; \
const char *option = boolValue ? "true" : "false";
// Use this for options which never have a value, i.e. for 'commands', like "--help".