aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fmt/fmt.odin4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin
index e8dafb2c7..e358d00e0 100644
--- a/core/fmt/fmt.odin
+++ b/core/fmt/fmt.odin
@@ -489,6 +489,10 @@ int_from_arg :: proc(args: []any, arg_index: int) -> (int, int, bool) {
}
}
+ if ok {
+ new_arg_index += 1;
+ }
+
return num, new_arg_index, ok;
}