summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--programs/sub-suite/subeditor.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/sub-suite/subeditor.s b/programs/sub-suite/subeditor.s
index 6e603ae..8337f51 100644
--- a/programs/sub-suite/subeditor.s
+++ b/programs/sub-suite/subeditor.s
@@ -408,7 +408,7 @@ print_char:
phe.q ; Preserve E.
xor s, s ; Reset S.
sta rega ; Preserve the character.
- ldb #2 ; Make sure that set_ptr sets the third pointer.
+ lea b, 2 ; Make sure that set_ptr sets the third pointer.
lda.q buffer ; Set the third pointer to the start of the screen buffer.
jsr set_ptr ;
deb ; Set B to one.