fix: fmtstring printing

This commit is contained in:
samsonium
2026-10-29 17:46:20 +03:00
parent bbdf91ee02
commit 2cf96d06c6
+2 -1
View File
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <string.h>
#include <vm/fzl_vm.h>
#include <vm/internals/opcode.h>
@@ -29,7 +30,7 @@ int op_build_str(fzl_vm_t *vm)
}
memset(temp, 0, sizeof(temp));
fzl_value_t val = vm->dstack[i];
fzl_value_t val = vm->dstack[vm->dtop - n + i];
switch (val.type)
{