From 63dd85cbfc3f2057dabe1be326eda6527c06bb22 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Mon, 22 May 2023 23:26:16 -0500 Subject: [PATCH] Fixed logic error in unused code module (#1049) --- firmware/application/apps/ui_about_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/apps/ui_about_demo.cpp b/firmware/application/apps/ui_about_demo.cpp index 9fb9326d..94880e49 100644 --- a/firmware/application/apps/ui_about_demo.cpp +++ b/firmware/application/apps/ui_about_demo.cpp @@ -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;