From c10f080d113b055e697db9cf066338fed3d259d6 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;