mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-28 09:30:41 +00:00
gr-sim: actual fix for inverse letters issue
This commit is contained in:
parent
f281be04bb
commit
b9ad2d7bd2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user