]> git.sur5r.net Git - cc65/commitdiff
fixed null parameter handling
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 15 Aug 2003 19:54:57 +0000 (19:54 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 15 Aug 2003 19:54:57 +0000 (19:54 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2325 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/dlgbox/dbget2lines.s

index 96440987d447c2e28195d143159281d1f604baa0..6e26b6ae7b43ac16971015f0bdfbb25c1b287732 100644 (file)
@@ -16,9 +16,9 @@ DB_get2lines:
            jsr popax
            sta ptr3            ; fetch line 1
            stx ptr3+1
-           ldx ptr3
+           ldx #ptr3
            jsr checknull
-           ldx ptr4
+           ldx #ptr4
            jmp checknull
 
 checknull: