]> git.sur5r.net Git - cc65/commitdiff
Reverse the last change, brain error :-(
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 27 Jul 2002 07:44:51 +0000 (07:44 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 27 Jul 2002 07:44:51 +0000 (07:44 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1374 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/vsprintf.s

index 2313900aea4fa1d30a646e3347d7c56a04381588..925e82de551555e914b3ee0bebed9b57c563a914 100644 (file)
@@ -152,13 +152,10 @@ _vsprintf:
        tya
        sta     (ptr1),y
 
-; Return the number of bytes written. The carry is clear here because of the
-; last addition which will never overflow for sane code.
+; Return the number of bytes written.
 
         lda     outdesc         ; ccount
         ldx     outdesc+1
-        adc     #1              ; Account for terminator
-        bcc     @L9
-        inx
-@L9:    rts
+       rts
+