Fix display of star

This commit is contained in:
MysterD 2023-03-28 22:28:04 -07:00
parent 3a8fa721ac
commit c10f080d11
1 changed files with 1 additions and 1 deletions

View File

@ -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;