]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/ungetc.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / common / ungetc.s
index 590d2d671a3c3584b9aa83af77b86ef0f82199c1..0ad12e3a293ed5222c47e458902d2ce3c53cf14c 100644 (file)
@@ -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
-
+