Fixed logic error in unused code module (#1049)

This commit is contained in:
Mark Thompson 2023-05-22 23:26:16 -05:00 committed by GitHub
parent 6dbc8460b4
commit 63dd85cbfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ void AboutView::draw_demoglyph(ui::Point p, char ch, ui::Color* pal) {
int16_t lbx, il;
// Map ASCII to font bitmap
if ((ch >= 32) || (ch < 96))
if ((ch >= 32) && (ch < 96))
che = char_map[ch - 32];
else
che = 0xFF;