]> git.sur5r.net Git - cc65/commitdiff
fix for name copying - the 16th byte would be overwritten
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 May 2003 21:14:40 +0000 (21:14 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 May 2003 21:14:40 +0000 (21:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2134 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/devel/mainargs.s

index 1f61fec489cbe9c0a3ad46a1f56fa4f3064b193b..255c48807bc055e905b8f340e941f65233f78d1b 100644 (file)
@@ -39,7 +39,7 @@
        beq     @fn_end
        sta     argv0,y
        iny
-       cpy     #16
+       cpy     #16+1
        bne     @fn_loop
 @fn_end:
        lda     #0