summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index c50cef618..b2433e45d 100644
--- a/main.asm
+++ b/main.asm
@@ -183,7 +183,7 @@ CheckNickErrors:: ; 669f
inc hl
; reached end of commands table?
ld a, [hl]
- cp a, -1
+ cp -1
jr z, .done
; is the current char between this value (inclusive)...