Skip to content

Commit 2812a15

Browse files
authored
Merge pull request #450 from boriel/bugfix/VAL_error_code
Update VAL routine for ZX Next backend
2 parents 238c0a2 + 7c83471 commit 2812a15

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)