mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
chore(ui): clarify behavior
This commit is contained in:
1 file changed
+1
-1
@@ -247,7 +247,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
|
||||
|
||||
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;
|
||||
|
||||
if (firstArg < argCount) {
|
||||
|
||||
Reference in new issue
Block a user