From e348fe3e548af58bc1b3a1ac54ad132092b1e017 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 9 Nov 2025 22:04:50 -0600 Subject: [PATCH] chore(ui): clarify behavior --- src/ui/FrameScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/FrameScript.cpp b/src/ui/FrameScript.cpp index 5afa30d..3debce6 100644 --- a/src/ui/FrameScript.cpp +++ b/src/ui/FrameScript.cpp @@ -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) {