diff options
-rw-r--r-- | source/core/StarText.hpp | 2 |
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; |