Skip to content

Commit

Permalink
Use ISCONST for future rgbds lexer compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Aug 17, 2020
1 parent 7233c19 commit 328a673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/text.asm
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ else
cp \1
endc

if STRSUB("\2", 1, 1) == "\""
if ISCONST(\2)
; Replace a character with another one
jr nz, ._\@
ld a, \2
Expand Down

0 comments on commit 328a673

Please sign in to comment.