gr-sim: actual fix for inverse letters issue

This commit is contained in:
Vince Weaver 2018-07-03 14:27:07 -04:00
parent f281be04bb
commit b9ad2d7bd2

View File

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