Skip to content

Commit 7c83471

Browse files
committed
Update VAL routine for ZX Next backend
1 parent 9028e8e commit 7c83471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/arch/zxnext/library-asm/val.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ __VAL_EMPTY: ; Jumps here on empty string
105105
call nz, __MEM_FREE ; Frees "" string
106106

107107
__RET_ZERO: ; Returns 0 Floating point on error
108-
ld a, ERROR_Ok
108+
ld a, ERROR_InvalidArg
109109
ld (ERR_NR), a
110110

111111
xor a

0 commit comments

Comments
 (0)