mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
fix(ui): correct off by one error in FrameScript_Execute
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user