Account for padding length when inserting prefix while padding with spaces

This commit is contained in:
2025-07-16 13:24:24 +02:00
parent 0a737dc0e5
commit bb53e7967d
2 changed files with 2 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ utoa:
test r15, r15 ;prefix now? (padding with spaces; r15 is zero)
jnz .checkPadding
insert_prefix
add r14, 2
.checkPadding:
; Substract length of converted number from padLen