mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
fix(ui): correct off by one error in FrameScript_Execute
This commit is contained in:
parent
ee0dbb3f92
commit
1b95c5f534
@ -252,7 +252,7 @@ void FrameScript_Execute(int32_t function, FrameScript_Object* objectThis, int32
|
|||||||
|
|
||||||
if (firstArg < argCount) {
|
if (firstArg < argCount) {
|
||||||
for (int32_t i = firstArg; i < argCount; i++) {
|
for (int32_t i = firstArg; i < argCount; i++) {
|
||||||
argId = i + 1;
|
argId++;
|
||||||
|
|
||||||
if (argId >= 10) {
|
if (argId >= 10) {
|
||||||
SStrPrintf(&argName[3], 3, "%d", argId);
|
SStrPrintf(&argName[3], 3, "%d", argId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user