mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
fix(ui): correctly initialize argName in FrameScript_Execute
This commit is contained in:
parent
1b95c5f534
commit
0741f84fb0
@ -245,7 +245,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
|
|||||||
lua_rawset(L, LUA_GLOBALSINDEX);
|
lua_rawset(L, LUA_GLOBALSINDEX);
|
||||||
}
|
}
|
||||||
|
|
||||||
char argName[7] = { 'a', 'r', 'g', 0, 0, 0 };
|
static char argName[] = { 'a', 'r', 'g', '0', 0, 0, 0 };
|
||||||
|
|
||||||
int32_t firstArg = event != 0;
|
int32_t firstArg = event != 0;
|
||||||
int32_t argId = 0;
|
int32_t argId = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user