diff --git a/libsrc/common/ungetc.s b/libsrc/common/ungetc.s index 590d2d671..0ad12e3a2 100644 --- a/libsrc/common/ungetc.s +++ b/libsrc/common/ungetc.s @@ -31,7 +31,7 @@ ; c must be in char range - tax + txa bne error ; Check if the file is open @@ -68,4 +68,4 @@ error: lda #EINVAL rts .endproc - +