mirror of
https://github.com/cclassic/hcs12ss59t
synced 2024-11-21 18:05:05 +01:00
Translate a zero byte in text mode to a space
This commit is contained in:
parent
ac4d778679
commit
698ef7385f
@ -22,6 +22,9 @@ char hcs12ss59t_get_char(char c)
|
||||
c += 16;
|
||||
else if (c >= 'a' && c <= 'z')
|
||||
c -= 80;
|
||||
else if (c == 0) {
|
||||
c = ' ' - 48;
|
||||
}
|
||||
else
|
||||
c = 79;
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user