Don't mask letters that aren't alpha

git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@17 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
Daniel Loffgren 2015-09-14 07:45:55 +00:00
parent a18eb41a34
commit 748ea68368

View File

@ -22,7 +22,12 @@ char asciiCharFromA1Char(uint8_t c) {
case 0xDC: return '\\';
case 0x8D: return '\n';
}
return (char)c & ~0x20;
if (c >= 'a' && c <= 'z') {
return (char)c & ~0x20;
}
return (char)c;
}
uint8_t a1CharFromAsciiChar(char c) {