Ticket #8591: sword2credits.patch
File sword2credits.patch, 840 bytes (added by , 17 years ago) |
---|
-
engines/sword2/screen.cpp
928 928 continue; 929 929 } 930 930 931 // The German credits contains character code 9. We don't want 932 // the credits to show the 'dud' symbol, so we replace them 933 // with spaces. 931 // Replace invalid character codes to avoid the credits to show 932 // the 'dud' symbol. 934 933 935 934 for (char *ptr = line; *ptr; ptr++) { 936 if (*ptr < 32) 935 // The German credits contains character code 9. We 936 // replace them with spaces. 937 if (*ptr == 9) 937 938 *ptr = 32; 939 940 // The Spanish credits contains character code -86. We 941 // replace them with dots. 942 if (*ptr == -86) 943 *ptr = '.'; 938 944 } 939 945 940 946 char *center_mark = strchr(line, '^');