mirror of
https://github.com/cclassic/hcs12ss59t
synced 2024-11-22 02:15: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;
|
c += 16;
|
||||||
else if (c >= 'a' && c <= 'z')
|
else if (c >= 'a' && c <= 'z')
|
||||||
c -= 80;
|
c -= 80;
|
||||||
|
else if (c == 0) {
|
||||||
|
c = ' ' - 48;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
c = 79;
|
c = 79;
|
||||||
return c;
|
return c;
|
||||||
|
Loading…
Reference in New Issue
Block a user