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
This commit is contained in:
parent
975427ea4f
commit
563309f6d1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user