From a65fd10267087dc2a360e05e6215fee99394be7d Mon Sep 17 00:00:00 2001 From: y4my4my4m <8145020+y4my4my4m@users.noreply.github.com> Date: Sat, 13 May 2023 23:59:31 +0900 Subject: [PATCH] proper escape of dollar sign --- src/Home/Telnet/Telnet.ZC | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Home/Telnet/Telnet.ZC b/src/Home/Telnet/Telnet.ZC index 2aa9ff93..b3cef209 100644 --- a/src/Home/Telnet/Telnet.ZC +++ b/src/Home/Telnet/Telnet.ZC @@ -19,7 +19,7 @@ Cd(__DIR__);; #include "TelnetHelpers" // If you're using a custom palette, the colors might not seem right. -// PaletteSet("Temple"); +PaletteSet("Temple"); Bool force_disconnect = FALSE; @@ -116,14 +116,14 @@ U0 HandleControlCodes(U8 ch) { SysLog("case 127"); } if (ch == 0x24) { - DocPrint(term.doc, "%s", "//$$$$"); + DocPrint(term.doc, "$$"); } if (ch >= 32 && ch < 256) // ZealOS's ASCII is up to 255 { DocPrint(term.doc, "%c", ch); } else { - DocPrint(term.doc, "%c", '?'); // unrecognized character + DocPrint(term.doc, "?"); // unrecognized character } } }