COMMON: fixed compilation

This commit is contained in:
Pawel Kolodziejski 2012-02-22 17:25:49 +01:00
parent 7807764421
commit 7308af6498

View File

@ -234,7 +234,7 @@ void registerDefaults() {
// resp. between "--some-option" and "--no-some-option".
#define DO_OPTION_BOOL(shortCmd, longCmd) \
if (isLongCmd ? (!strcmp(s+2, longCmd) || !strcmp(s+2, "no-"longCmd)) : (tolower(s[1]) == shortCmd)) { \
bool boolValue = (islower(static_cast<unsigned char>(s[1])) != 0); \
bool boolValue = (Common::isLower(s[1]) != 0); \
s += 2; \
if (isLongCmd) { \
boolValue = !strcmp(s, longCmd); \