From b2a5bd00fb1d7531591a1074a8571b5ae566f0dd Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:24:22 +1100 Subject: [PATCH] Fix minor escape code check issue --- source/core/StarText.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/StarText.hpp b/source/core/StarText.hpp index e318484..63034a8 100644 --- a/source/core/StarText.hpp +++ b/source/core/StarText.hpp @@ -12,7 +12,7 @@ namespace Text { unsigned char const SpecialCharLimit = ' '; String stripEscapeCodes(String const& s); - inline bool isEscapeCode(char c) { return c == CmdEsc || c == StartEsc; } + inline bool isEscapeCode(Utf32Type c) { return c == CmdEsc || c == StartEsc; } typedef function TextCallback; typedef function CommandsCallback;