Differences From Artifact [ba5f92d7a9]:
- File picture.c — part of check-in [aeb7bb0218] at 2021-11-06 03:28:16 on branch trunk — Implement importing solutions when importing the level data. (user: user, size: 34396) [annotate] [blame] [check-ins using]
To Artifact [74bc65b7f7]:
- File picture.c — part of check-in [561f982c9c] at 2022-01-04 06:02:11 on branch trunk — Change documentation about code page numbers (the effectiveness is the same as before), and treat code page 367 the same as 437 (which is a superset of 367 anyways, so it is OK). (user: user, size: 34416) [annotate] [blame] [check-ins using]
| ︙ | |||
820 821 822 823 824 825 826 827 828 829 830 831 832 833 | 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 | + |
void set_code_page(Uint16 n) {
int c,i,j,s;
const char*v;
unsigned char*d;
Uint8 b[32];
FILE*fp;
if(!n) return;
if(n==367) n=437;
if(fontdata && fontdata!=pcfont) fatal("Multiple code page specifications\n");
optionquery[1]=Q_codepage;
v=xrm_get_resource(resourcedb,optionquery,optionquery,2);
if(!v || !*v) {
if(n==437) return;
fatal("Cannot load code page %d; code page file is not configured\n",n);
}
|
| ︙ |