From 3eb7c809b676502ab67205d3b3461c7fd08409dc Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Mon, 1 May 2023 21:36:37 -0700 Subject: [PATCH] (notepad) Fixed issue with linebreak sprites --- gui/notepad/notepad.tal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/notepad/notepad.tal b/gui/notepad/notepad.tal index a4da534..f46c401 100644 --- a/gui/notepad/notepad.tal +++ b/gui/notepad/notepad.tal @@ -518,9 +518,12 @@ JMP2r @char-addr ( char -- addr* ) DUP #7e GTH ?&missing - #20 SUB #00 SWP #50 SFT2 ;font/glyphs ADD2 + DUP #20 LTH ?&blank + #20 SUB + #00 SWP #50 SFT2 ;font/glyphs ADD2 JMP2r + &blank POP ;font/glyphs JMP2r &missing POP ;error-icn JMP2r @char-width ( char -- width* )