mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
More consistent constants in isTrue and isFalse
This commit is contained in:
parent
7cc758c9de
commit
edabf67815
@ -3233,12 +3233,12 @@ class Value
|
||||
|
||||
bool isTrue() const {
|
||||
return data.s.mask32 == JSVAL_MASK32_BOOLEAN &&
|
||||
data.s.payload.boo == JSBool(true);
|
||||
data.s.payload.boo == JS_TRUE;
|
||||
}
|
||||
|
||||
bool isFalse() const {
|
||||
return data.s.mask32 == JSVAL_MASK32_BOOLEAN &&
|
||||
data.s.payload.boo == false;
|
||||
data.s.payload.boo == JS_FALSE;
|
||||
}
|
||||
|
||||
bool isMagic() const {
|
||||
|
Loading…
Reference in New Issue
Block a user