COMMON: fixed compilation
This commit is contained in:
parent
7807764421
commit
7308af6498
1 changed files with 1 additions and 1 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue