gr-sim: only auto-uppercase inverse letters

This commit is contained in:
Vince Weaver
2018-07-03 13:47:16 -04:00
parent c20522f44c
commit 150f5ed52c

View File

@@ -1803,7 +1803,7 @@ void print_inverse(char *string) {
for(y=0;y<strlen(string);y++) { for(y=0;y<strlen(string);y++) {
a=string[y]; a=string[y];
a=(a&0x3f); a=(a&0x3f);
a&=~0x20; // convert to uppercase if ((a>=('a'&0x3f)) && (a<=('z'&0x3f))) a&=~0x20; // convert to uppercase
ram[y_indirect(BASL,y)]=a; ram[y_indirect(BASL,y)]=a;
} }
ram[BASL]+=strlen(string); ram[BASL]+=strlen(string);