mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
chore(ui): clarify behavior
This commit is contained in:
parent
0741f84fb0
commit
e348fe3e54
@ -247,7 +247,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
|
|||||||
|
|
||||||
static char argName[] = { 'a', 'r', 'g', '0', 0, 0, 0 };
|
static char argName[] = { 'a', 'r', 'g', '0', 0, 0, 0 };
|
||||||
|
|
||||||
int32_t firstArg = event != 0;
|
int32_t firstArg = event ? 1 : 0;
|
||||||
int32_t argId = 0;
|
int32_t argId = 0;
|
||||||
|
|
||||||
if (firstArg < argCount) {
|
if (firstArg < argCount) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user