From 563309f6d1d87b73ca7882bf5792cd948cebc829 Mon Sep 17 00:00:00 2001 From: Todd Naugle Date: Tue, 10 Aug 2021 16:16:08 -0500 Subject: [PATCH] Mackie Control: Fix one off error in timecode display that broke spaces Ignored spaces and allowed character 0x60 which is not valid on the display --- libs/surfaces/mackie/surface.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/mackie/surface.cc b/libs/surfaces/mackie/surface.cc index e143b46d36..50a3956f31 100644 --- a/libs/surfaces/mackie/surface.cc +++ b/libs/surfaces/mackie/surface.cc @@ -1186,9 +1186,9 @@ translate_seven_segment (char achar) { achar = toupper (achar); - if (achar >= 0x40 && achar <= 0x60) { + if (achar >= 0x40 && achar <= 0x5f) { return achar - 0x40; - } else if (achar >= 0x21 && achar <= 0x3f) { + } else if (achar >= 0x20 && achar <= 0x3f) { return achar; } else { return 0x00;