mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
COMMON: fixed compilation
This commit is contained in:
parent
7807764421
commit
7308af6498
@ -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…
Reference in New Issue
Block a user