Debian Codegraph @

debian/patches/spelling-fixes.patch

raw symbols SCIP
1 Description: Spelling fixes
2 Author: Stephen Kitt <[email protected]>
3
4 --- a/src/cpu/callback.cpp
5 +++ b/src/cpu/callback.cpp
6 @@ -488,7 +488,7 @@
7 m_type=SETUP;
8 m_callback=CALLBACK_Allocate();
9 CALLBACK_Setup(m_callback,handler,type,description);
10 - } else E_Exit("Allready installed");
11 + } else E_Exit("Already installed");
12 }
13 void CALLBACK_HandlerObject::Install(CallBack_Handler handler,Bitu type,PhysPt addr,const char* description){
14 if(!installed) {
15 @@ -496,7 +496,7 @@
16 m_type=SETUP;
17 m_callback=CALLBACK_Allocate();
18 CALLBACK_Setup(m_callback,handler,type,addr,description);
19 - } else E_Exit("Allready installed");
20 + } else E_Exit("Already installed");
21 }
22
23 void CALLBACK_HandlerObject::Allocate(CallBack_Handler handler,const char* description) {
24 @@ -506,7 +506,7 @@
25 m_callback=CALLBACK_Allocate();
26 CALLBACK_SetDescription(m_callback,description);
27 CallBack_Handlers[m_callback]=handler;
28 - } else E_Exit("Allready installed");
29 + } else E_Exit("Already installed");
30 }
31
32 void CALLBACK_HandlerObject::Set_RealVec(Bit8u vec){
33 --- a/acinclude.m4
34 +++ b/acinclude.m4
35 @@ -144,7 +144,7 @@
36 echo "*** If you have an old version installed, it is best to remove it, although"
37 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
38 [ echo "*** The test program failed to compile or link. See the file config.log for the"
39 - echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40 + echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
41 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42 echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
43 CFLAGS="$ac_save_CFLAGS"
44 --- a/src/cpu/core_dyn_x86/cache.h
45 +++ b/src/cpu/core_dyn_x86/cache.h
46 @@ -518,7 +518,7 @@
47
48 #if (C_HAVE_MPROTECT)
49 if(mprotect(cache_code_link_blocks,CACHE_TOTAL+CACHE_MAXSIZE+PAGESIZE_TEMP,PROT_WRITE|PROT_READ|PROT_EXEC))
50 - LOG_MSG("Setting excute permission on the code cache has failed!");
51 + LOG_MSG("Setting execute permission on the code cache has failed!");
52 #endif
53 CacheBlock * block=cache_getblock();
54 cache.block.first=block;
55 @@ -613,7 +613,7 @@
56
57 #if (C_HAVE_MPROTECT)
58 if(mprotect(cache_code_link_blocks,CACHE_TOTAL+CACHE_MAXSIZE+PAGESIZE_TEMP,PROT_WRITE|PROT_READ|PROT_EXEC))
59 - LOG_MSG("Setting excute permission on the code cache has failed!");
60 + LOG_MSG("Setting execute permission on the code cache has failed!");
61 #endif
62 }
63
64 --- a/src/cpu/core_dynrec/cache.h
65 +++ b/src/cpu/core_dynrec/cache.h
66 @@ -603,7 +603,7 @@
67
68 #if (C_HAVE_MPROTECT)
69 if(mprotect(cache_code_link_blocks,CACHE_TOTAL+CACHE_MAXSIZE+PAGESIZE_TEMP,PROT_WRITE|PROT_READ|PROT_EXEC))
70 - LOG_MSG("Setting excute permission on the code cache has failed");
71 + LOG_MSG("Setting execute permission on the code cache has failed");
72 #endif
73 CacheBlockDynRec * block=cache_getblock();
74 cache.block.first=block;
75 --- a/src/cpu/flags.cpp
76 +++ b/src/cpu/flags.cpp
77 @@ -117,7 +117,7 @@
78 case t_TESTd:
79 return false; /* Set to false */
80 case t_DIV:
81 - return false; /* Unkown */
82 + return false; /* Unknown */
83 default:
84 LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type);
85 }
86 @@ -199,7 +199,7 @@
87 case t_DSHRd:
88 case t_DIV:
89 case t_MUL:
90 - return false; /* Unkown */
91 + return false; /* Unknown */
92 default:
93 LOG(LOG_CPU,LOG_ERROR)("get_AF Unknown %d",lflags.type);
94 }
95 @@ -268,7 +268,7 @@
96 return (lf_resd==0);
97 case t_DIV:
98 case t_MUL:
99 - return false; /* Unkown */
100 + return false; /* Unknown */
101 default:
102 LOG(LOG_CPU,LOG_ERROR)("get_ZF Unknown %d",lflags.type);
103 }
104 @@ -336,9 +336,9 @@
105 return (lf_resd&0x80000000);
106 case t_DIV:
107 case t_MUL:
108 - return false; /* Unkown */
109 + return false; /* Unknown */
110 default:
111 - LOG(LOG_CPU,LOG_ERROR)("get_SF Unkown %d",lflags.type);
112 + LOG(LOG_CPU,LOG_ERROR)("get_SF Unknown %d",lflags.type);
113 }
114 return false;
115
116 @@ -424,9 +424,9 @@
117 case t_SARd:
118 return false; /* Return false */
119 case t_DIV:
120 - return false; /* Unkown */
121 + return false; /* Unknown */
122 default:
123 - LOG(LOG_CPU,LOG_ERROR)("get_OF Unkown %d",lflags.type);
124 + LOG(LOG_CPU,LOG_ERROR)("get_OF Unknown %d",lflags.type);
125 }
126 return false;
127 }
128 --- a/src/dos/dos.cpp
129 +++ b/src/dos/dos.cpp
130 @@ -848,7 +848,7 @@
131 reg_bh=0; //Unspecified error class
132 }
133 reg_bl=1; //Retry retry retry
134 - reg_ch=0; //Unkown error locus
135 + reg_ch=0; //Unknown error locus
136 break;
137 case 0x5a: /* Create temporary file */
138 {
139 --- a/src/dos/dos_mscdex.cpp
140 +++ b/src/dos/dos_mscdex.cpp
141 @@ -301,7 +301,7 @@
142 case 0x02: // fake cdrom interface (directories)
143 cdrom[numDrives] = new CDROM_Interface_Fake;
144 LOG(LOG_MISC,LOG_NORMAL)("MSCDEX: Mounting directory as cdrom: %s",physicalPath);
145 - LOG(LOG_MISC,LOG_NORMAL)("MSCDEX: You wont have full MSCDEX support !");
146 + LOG(LOG_MISC,LOG_NORMAL)("MSCDEX: You won't have full MSCDEX support !");
147 result = 5;
148 break;
149 default : // weird result
150 @@ -1205,7 +1205,7 @@
151 }
152 return true;
153 };
154 - LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unknwon call : %04X",reg_ax);
155 + LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unknown call : %04X",reg_ax);
156 return true;
157 }
158
159 --- a/src/dos/dos_programs.cpp
160 +++ b/src/dos/dos_programs.cpp
161 @@ -1473,7 +1473,7 @@
162 "For information about special keys type \033[34;1mintro special\033[0m\n"
163 "For more information about DOSBox, go to \033[34;1mhttp://www.dosbox.com/wiki\033[0m\n"
164 "\n"
165 - "\033[31;1mDOSBox will stop/exit without a warning if an error occured!\033[0m\n"
166 + "\033[31;1mDOSBox will stop/exit without a warning if an error occurred!\033[0m\n"
167 "\n"
168 "\n"
169 );
170 --- a/src/dos/drive_fat.cpp
171 +++ b/src/dos/drive_fat.cpp
172 @@ -670,7 +670,7 @@
173 }
174 }
175
176 - if(m==4) LOG_MSG("No good partiton found in image.");
177 + if(m==4) LOG_MSG("No good partition found in image.");
178
179 partSectOff = startSector;
180 } else {
181 --- a/src/hardware/ipx.cpp
182 +++ b/src/hardware/ipx.cpp
183 @@ -883,7 +883,7 @@
184 if(strcasecmp("stopserver", helpStr) == 0) {
185 WriteOut("IPXNET STOPSERVER stops the IPX tunneling server running on this DosBox\nsession.");
186 WriteOut(" Care should be taken to ensure that all other connections have\nterminated ");
187 - WriteOut("as well sinnce stoping the server may cause lockups on other\nmachines still using ");
188 + WriteOut("as well sinnce stopping the server may cause lockups on other\nmachines still using ");
189 WriteOut("the IPX tunneling server.\n\n");
190 WriteOut("The syntax for IPXNET STOPSERVER is:\n\n");
191 WriteOut("IPXNET STOPSERVER\n\n");
192 --- a/src/ints/bios.cpp
193 +++ b/src/ints/bios.cpp
194 @@ -562,7 +562,7 @@
195 static Bit16u biosConfigSeg=0;
196 switch (reg_ah) {
197 case 0x06:
198 - LOG(LOG_BIOS,LOG_NORMAL)("INT15 Unkown Function 6");
199 + LOG(LOG_BIOS,LOG_NORMAL)("INT15 Unknown Function 6");
200 break;
201 case 0xC0: /* Get Configuration*/
202 {
203 --- a/src/gui/sdl_mapper.cpp
204 +++ b/src/gui/sdl_mapper.cpp
205 @@ -2105,7 +2105,7 @@
206 }
207
208 void MAPPER_AddHandler(MAPPER_Handler * handler,MapKeys key,Bitu mods,char const * const eventname,char const * const buttonname) {
209 - //Check if it allready exists=> if so return.
210 + //Check if it already exists=> if so return.
211 for(CHandlerEventVector_it it=handlergroup.begin();it!=handlergroup.end();it++)
212 if(strcmp((*it)->buttonname,buttonname) == 0) return;
213
214 --- a/src/gui/sdlmain.cpp
215 +++ b/src/gui/sdlmain.cpp
216 @@ -1691,7 +1691,7 @@
217 Pstring->Set_values(inactt);
218
219 Pstring = sdl_sec->Add_path("mapperfile",Property::Changeable::Always,MAPPERFILE);
220 - Pstring->Set_help("File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.");
221 + Pstring->Set_help("File used to load/save the key/event mappings from. Resetmapper only works with the default value.");
222
223 Pbool = sdl_sec->Add_bool("usescancodes",Property::Changeable::Always,true);
224 Pbool->Set_help("Avoid usage of symkeys, might not work on all operating systems.");
225 @@ -2037,7 +2037,7 @@
226 Section_prop * sdl_sec=static_cast<Section_prop *>(control->GetSection("sdl"));
227
228 if (control->cmdline->FindExist("-fullscreen") || sdl_sec->Get_bool("fullscreen")) {
229 - if(!sdl.desktop.fullscreen) { //only switch if not allready in fullscreen
230 + if(!sdl.desktop.fullscreen) { //only switch if not already in fullscreen
231 GFX_SwitchFullScreen();
232 }
233 }
234 --- a/src/hardware/iohandler.cpp
235 +++ b/src/hardware/iohandler.cpp
236 @@ -116,7 +116,7 @@
237 m_mask=mask;
238 m_range=range;
239 IO_RegisterReadHandler(port,handler,mask,range);
240 - } else E_Exit("IO_readHandler allready installed port %x",port);
241 + } else E_Exit("IO_readHandler already installed port %x",port);
242 }
243
244 IO_ReadHandleObject::~IO_ReadHandleObject(){
245 @@ -131,7 +131,7 @@
246 m_mask=mask;
247 m_range=range;
248 IO_RegisterWriteHandler(port,handler,mask,range);
249 - } else E_Exit("IO_writeHandler allready installed port %x",port);
250 + } else E_Exit("IO_writeHandler already installed port %x",port);
251 }
252
253 IO_WriteHandleObject::~IO_WriteHandleObject(){
254 --- a/src/hardware/keyboard.cpp
255 +++ b/src/hardware/keyboard.cpp
256 @@ -127,7 +127,7 @@
257 KEYBOARD_AddBuffer(0xfa); /* Acknowledge */
258 break;
259 case 0xf4: /* Enable keyboard,clear buffer, start scanning */
260 - LOG(LOG_KEYBOARD,LOG_NORMAL)("Clear buffer,enable Scaning");
261 + LOG(LOG_KEYBOARD,LOG_NORMAL)("Clear buffer,enable Scanning");
262 KEYBOARD_AddBuffer(0xfa); /* Acknowledge */
263 keyb.scanning=true;
264 break;
265 --- a/src/hardware/mixer.cpp
266 +++ b/src/hardware/mixer.cpp
267 @@ -602,7 +602,7 @@
268 installed = true;
269 return MIXER_AddChannel(handler,freq,name);
270 } else {
271 - E_Exit("allready added mixer channel.");
272 + E_Exit("already added mixer channel.");
273 return 0; //Compiler happy
274 }
275 }
276 --- a/src/hardware/vga_attr.cpp
277 +++ b/src/hardware/vga_attr.cpp
278 @@ -184,7 +184,7 @@
279 svga.write_p3c0(attr(index), val, iolen);
280 break;
281 }
282 - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:Write to unkown Index %2X",attr(index));
283 + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:Write to unknown Index %2X",attr(index));
284 break;
285 }
286 }
287 @@ -212,7 +212,7 @@
288 default:
289 if (svga.read_p3c1)
290 return svga.read_p3c1(attr(index), iolen);
291 - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:Read from unkown Index %2X",attr(index));
292 + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:Read from unknown Index %2X",attr(index));
293 }
294 return 0;
295 }
296 --- a/src/shell/shell.cpp
297 +++ b/src/shell/shell.cpp
298 @@ -50,14 +50,14 @@
299 void VFILE_Remove(const char *name);
300
301 void AutoexecObject::Install(const std::string &in) {
302 - if(GCC_UNLIKELY(installed)) E_Exit("autoexec: allready created %s",buf.c_str());
303 + if(GCC_UNLIKELY(installed)) E_Exit("autoexec: already created %s",buf.c_str());
304 installed = true;
305 buf = in;
306 autoexec_strings.push_back(buf);
307 this->CreateAutoexec();
308
309 //autoexec.bat is normally created AUTOEXEC_Init.
310 - //But if we are allready running (first_shell)
311 + //But if we are already running (first_shell)
312 //we have to update the envirionment to display changes
313
314 if(first_shell) {
315 @@ -78,7 +78,7 @@
316 }
317
318 void AutoexecObject::InstallBefore(const std::string &in) {
319 - if(GCC_UNLIKELY(installed)) E_Exit("autoexec: allready created %s",buf.c_str());
320 + if(GCC_UNLIKELY(installed)) E_Exit("autoexec: already created %s",buf.c_str());
321 installed = true;
322 buf = in;
323 autoexec_strings.push_front(buf);
324 --- a/src/shell/shell_cmds.cpp
325 +++ b/src/shell/shell_cmds.cpp
326 @@ -285,7 +285,7 @@
327 args++;//skip first character. either a slash or dot or space
328 size_t len = strlen(args); //TODO check input of else ook nodig is.
329 if(len && args[len - 1] == '\r') {
330 - LOG(LOG_MISC,LOG_WARN)("Hu ? carriage return allready present. Is this possible?");
331 + LOG(LOG_MISC,LOG_WARN)("Hu ? carriage return already present. Is this possible?");
332 WriteOut("%s\n",args);
333 } else WriteOut("%s\r\n",args);
334 }