| 1 |
Index: circuslinux/circuslinux.c |
| 2 |
=================================================================== |
| 3 |
--- circuslinux.orig/circuslinux.c |
| 4 |
+++ circuslinux/circuslinux.c |
| 5 |
@@ -2791,7 +2791,7 @@ void setup(void) |
| 6 |
{ |
| 7 |
fprintf(stderr, |
| 8 |
"\nError: I could not initialize video!\n" |
| 9 |
- "The Simple DirectMedia error that occured was:\n" |
| 10 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 11 |
"%s\n\n", SDL_GetError()); |
| 12 |
exit(1); |
| 13 |
} |
| 14 |
@@ -2803,7 +2803,7 @@ void setup(void) |
| 15 |
if (SDL_Init(SDL_INIT_JOYSTICK) < 0) |
| 16 |
{ |
| 17 |
fprintf(stderr, "Warning: I could not initialize joystick!\n" |
| 18 |
- "The Simple DirectMedia error that occured was:\n" |
| 19 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 20 |
"%s\n\n", SDL_GetError()); |
| 21 |
|
| 22 |
use_joystick = 0; |
| 23 |
@@ -2825,7 +2825,7 @@ void setup(void) |
| 24 |
if (js == NULL) |
| 25 |
{ |
| 26 |
fprintf(stderr, "Warning: Could not open joystick 1.\n" |
| 27 |
- "The Simple DirectMedia error that occured was:\n" |
| 28 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 29 |
"%s\n\n", SDL_GetError()); |
| 30 |
|
| 31 |
use_joystick = 0; |
| 32 |
@@ -2866,7 +2866,7 @@ void setup(void) |
| 33 |
{ |
| 34 |
fprintf(stderr, |
| 35 |
"\nWarning: I could not initialize audio!\n" |
| 36 |
- "The Simple DirectMedia error that occured was:\n" |
| 37 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 38 |
"%s\n\n", SDL_GetError()); |
| 39 |
use_sound = 0; |
| 40 |
} |
| 41 |
@@ -2883,7 +2883,7 @@ void setup(void) |
| 42 |
fprintf(stderr, |
| 43 |
"\nWarning: I could not set up audio for 44100 Hz " |
| 44 |
"16-bit stereo.\n" |
| 45 |
- "The Simple DirectMedia error that occured was:\n" |
| 46 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 47 |
"%s\n\n", SDL_GetError()); |
| 48 |
use_sound = 0; |
| 49 |
} |
| 50 |
@@ -2901,7 +2901,7 @@ void setup(void) |
| 51 |
fprintf(stderr, |
| 52 |
"\nWarning: I could not set up fullscreen video for " |
| 53 |
"640x480 mode.\n" |
| 54 |
- "The Simple DirectMedia error that occured was:\n" |
| 55 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 56 |
"%s\n\n", SDL_GetError()); |
| 57 |
use_fullscreen = 0; |
| 58 |
} |
| 59 |
@@ -2915,7 +2915,7 @@ void setup(void) |
| 60 |
{ |
| 61 |
fprintf(stderr, |
| 62 |
"\nError: I could not set up video for 640x480 mode.\n" |
| 63 |
- "The Simple DirectMedia error that occured was:\n" |
| 64 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 65 |
"%s\n\n", SDL_GetError()); |
| 66 |
exit(1); |
| 67 |
} |
| 68 |
@@ -2945,7 +2945,7 @@ void setup(void) |
| 69 |
fprintf(stderr, |
| 70 |
"\nError: I couldn't load a graphics file:\n" |
| 71 |
"%s\n" |
| 72 |
- "The Simple DirectMedia error that occured was:\n" |
| 73 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 74 |
"%s\n\n", image_names[i], SDL_GetError()); |
| 75 |
exit(1); |
| 76 |
} |
| 77 |
@@ -2960,7 +2960,7 @@ void setup(void) |
| 78 |
fprintf(stderr, |
| 79 |
"\nError: I could not set the color key for the file:\n" |
| 80 |
"%s\n" |
| 81 |
- "The Simple DirectMedia error that occured was:\n" |
| 82 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 83 |
"%s\n\n", image_names[i], SDL_GetError()); |
| 84 |
exit(1); |
| 85 |
} |
| 86 |
@@ -2971,7 +2971,7 @@ void setup(void) |
| 87 |
fprintf(stderr, |
| 88 |
"\nError: I couldn't convert a file to the display format:\n" |
| 89 |
"%s\n" |
| 90 |
- "The Simple DirectMedia error that occured was:\n" |
| 91 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 92 |
"%s\n\n", image_names[i], SDL_GetError()); |
| 93 |
exit(1); |
| 94 |
} |
| 95 |
@@ -3008,7 +3008,7 @@ void setup(void) |
| 96 |
fprintf(stderr, |
| 97 |
"\nError: I could not load the sound file:\n" |
| 98 |
"%s\n" |
| 99 |
- "The Simple DirectMedia error that occured was:\n" |
| 100 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 101 |
"%s\n\n", sound_names[i], SDL_GetError()); |
| 102 |
exit(1); |
| 103 |
} |
| 104 |
@@ -3025,7 +3025,7 @@ void setup(void) |
| 105 |
fprintf(stderr, |
| 106 |
"\nError: I could not load the music file:\n" |
| 107 |
"%s\n" |
| 108 |
- "The Simple DirectMedia error that occured was:\n" |
| 109 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 110 |
"%s\n\n", MUS_TITLE, SDL_GetError()); |
| 111 |
exit(1); |
| 112 |
} |
| 113 |
@@ -3038,7 +3038,7 @@ void setup(void) |
| 114 |
fprintf(stderr, |
| 115 |
"\nError: I could not load the music file:\n" |
| 116 |
"%s\n" |
| 117 |
- "The Simple DirectMedia error that occured was:\n" |
| 118 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 119 |
"%s\n\n", MUS_GAME, SDL_GetError()); |
| 120 |
exit(1); |
| 121 |
} |
| 122 |
@@ -3051,7 +3051,7 @@ void setup(void) |
| 123 |
fprintf(stderr, |
| 124 |
"\nError: I could not load the music file:\n" |
| 125 |
"%s\n" |
| 126 |
- "The Simple DirectMedia error that occured was:\n" |
| 127 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 128 |
"%s\n\n", MUS_GAMEOVER, SDL_GetError()); |
| 129 |
exit(1); |
| 130 |
} |
| 131 |
@@ -3064,7 +3064,7 @@ void setup(void) |
| 132 |
fprintf(stderr, |
| 133 |
"\nError: I could not load the music file:\n" |
| 134 |
"%s\n" |
| 135 |
- "The Simple DirectMedia error that occured was:\n" |
| 136 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 137 |
"%s\n\n", MUS_HISCORE, SDL_GetError()); |
| 138 |
exit(1); |
| 139 |
} |
| 140 |
@@ -3077,7 +3077,7 @@ void setup(void) |
| 141 |
fprintf(stderr, |
| 142 |
"\nError: I could not load the music file:\n" |
| 143 |
"%s\n" |
| 144 |
- "The Simple DirectMedia error that occured was:\n" |
| 145 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 146 |
"%s\n\n", MUS_HISCORESCREEN, SDL_GetError()); |
| 147 |
exit(1); |
| 148 |
} |
| 149 |
@@ -3433,7 +3433,7 @@ void seticon(void) |
| 150 |
{ |
| 151 |
fprintf(stderr, |
| 152 |
"\nError: I could not load the icon image: %s\n" |
| 153 |
- "The Simple DirectMedia error that occured was:\n" |
| 154 |
+ "The Simple DirectMedia error that occurred was:\n" |
| 155 |
"%s\n\n", DATA_PREFIX "images/icon.png", SDL_GetError()); |
| 156 |
exit(1); |
| 157 |
} |
| 158 |
@@ -3512,7 +3512,7 @@ FILE * open_score_file(char * mode) |
| 159 |
fprintf(stderr, "for write:"); |
| 160 |
|
| 161 |
fprintf(stderr, "\n%s\n" |
| 162 |
- "The error that occured was:\n" |
| 163 |
+ "The error that occurred was:\n" |
| 164 |
"%s\n\n","/var/games/circuslinux/scorefile" , strerror(errno)); |
| 165 |
} |
| 166 |
|
| 167 |
@@ -3595,7 +3595,7 @@ FILE * open_option_file(char * mode) |
| 168 |
fprintf(stderr, "for write:"); |
| 169 |
|
| 170 |
fprintf(stderr, "\n%s\n" |
| 171 |
- "The error that occured was:\n" |
| 172 |
+ "The error that occurred was:\n" |
| 173 |
"%s\n\n", filename, strerror(errno)); |
| 174 |
} |
| 175 |
|