]> git.sur5r.net Git - cc65/commitdiff
Fixed an error.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Apr 2008 06:44:46 +0000 (06:44 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Apr 2008 06:44:46 +0000 (06:44 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3837 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/maperrno.s

index 869acac6f0338c7f5b0be530542748c37199397d..0133b46068f415d731270b22b02a8e0e633c384b 100644 (file)
 
 __maperrno:
        lda     __oserror               ; Get the error code
-       beq     @L1                     ; Jump if no error
-setoserror:       
+               beq     L9                      ; Jump if no error
+setoserror:
        ldx     #$00                    ; Clear error
        stx     __oserror
        jsr     __osmaperrno            ; Map the code
                sta     __errno
        stx     __errno+1
-@L1:   rts
+L9:    rts