]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/isdigit.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / common / isdigit.s
index 61dd637bbabbda19a7cc29f386ee59519d82dfac..2972c89411805f4d58121305885f094a6c50c966 100644 (file)
@@ -4,18 +4,18 @@
 ; int isdigit (int c);
 ;
 
-       .export         _isdigit
-               .include        "ctype.inc"
+        .export         _isdigit
+        .include        "ctype.inc"
 
 _isdigit:
-       cpx     #$00            ; Char range ok?
-       bne     @L1             ; Jump if no
-       tay
-       lda     __ctype,y       ; Get character classification
-       and     #CT_DIGIT       ; Mask digit bit
-       rts
+        cpx     #$00            ; Char range ok?
+        bne     @L1             ; Jump if no
+        tay
+        lda     __ctype,y       ; Get character classification
+        and     #CT_DIGIT       ; Mask digit bit
+        rts
 
-@L1:   lda     #$00            ; Return false
-       tax
-       rts
+@L1:    lda     #$00            ; Return false
+        tax
+        rts