1 diff -up cdogs-sdl-0.4/src/files.c~ cdogs-sdl-0.4/src/files.c
2 --- cdogs-sdl-0.4/src/files.c~ 2007-08-12 10:26:02.000000000 +0200
3 +++ cdogs-sdl-0.4/src/files.c 2007-08-12 10:26:02.000000000 +0200
4 @@ -340,7 +340,7 @@ int SaveCampaign(const char *filename, T
8 - f = open(filename, O_WRONLY | O_CREAT | O_TRUNC);
9 + f = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
12 write(f, &i, sizeof(i));
13 diff -up cdogs-sdl-0.4/src/grafx.c~ cdogs-sdl-0.4/src/grafx.c
14 --- cdogs-sdl-0.4/src/grafx.c~ 2007-07-16 22:01:51.000000000 +0200
15 +++ cdogs-sdl-0.4/src/grafx.c 2007-07-16 22:01:51.000000000 +0200
16 @@ -107,9 +107,9 @@ static int ValidMode(int w, int h)
18 /* These are the default hints as used by the graphics subsystem */
19 int hints[HINT_END] = {
20 - 0, // HINT_FULLSCREEN
21 + 1, // HINT_FULLSCREEN
23 - 1, // HINT_SCALEFACTOR
24 + 2, // HINT_SCALEFACTOR
28 diff -up cdogs-sdl-0.4/src/grafx.c~ cdogs-sdl-0.4/src/grafx.c
29 --- cdogs-sdl-0.4/src/grafx.c~ 2007-07-16 20:36:01.000000000 +0200
30 +++ cdogs-sdl-0.4/src/grafx.c 2007-07-16 20:36:01.000000000 +0200
31 @@ -219,7 +219,7 @@ void ShutDownVideo(void)
39 int ReadPics(const char *filename, void **pics, int maxPics,