From 2acb51b314f5a2285144b91721d2bd7c0c193306 Mon Sep 17 00:00:00 2001 From: MysterD Date: Tue, 28 Mar 2023 22:28:04 -0700 Subject: [PATCH] Fix display of star --- src/pc/djui/djui_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/djui/djui_font.c b/src/pc/djui/djui_font.c index 94169323..db6abebf 100644 --- a/src/pc/djui/djui_font.c +++ b/src/pc/djui/djui_font.c @@ -137,7 +137,7 @@ void djui_font_convert_to_smcode(char* text) { } bool djui_font_valid_smcode(char c) { - if (c >= '!' && c <= '~') { + if (c >= '!' && (u8)c <= ((u8)'~' + 1)) { return true; } else if (c == ' ') { return true;