Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-10-27 12:24:22 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2023-10-27 12:24:22 +1100
commitb2a5bd00fb1d7531591a1074a8571b5ae566f0dd (patch)
tree3a30fda267e46b81839eea9025b544f48a6258d9
parent48b8d43ff891216735720b9844dba31583a4245b (diff)
Fix minor escape code check issue
-rw-r--r--source/core/StarText.hpp2
1 files changed, 1 insertions, 1 deletions
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<bool(StringView text)> TextCallback;
typedef function<bool(StringView commands)> CommandsCallback;