1 --- save.c.orig 2009-01-26 14:02:54.630783832 +0100
2 +++ save.c 2009-01-26 14:12:20.944908215 +0100
7 - FILE *f=fopen("system/settings.txt","w");
8 + FILE *f=fopen("./tuxboy.cfg","w");
9 fprintf(f,"%d\n",scale);
10 fprintf(f,"%d\n",CustomW);
11 fprintf(f,"%d\n",CustomH);
16 - FILE *f=fopen("system/settings.txt","r");
17 + FILE *f=fopen("./tuxboy.cfg","r");
20 + printf("Unable to open ./tuxboy.cfg, trying /etc/tuxboy/tuxboy.cfg\n");
21 + FILE *f=fopen("/etc/tuxboy/tuxboy.cfg","r");