Even our comments and status messages have less bugs now (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3764
This commit is contained in:
parent
fc1ffcc528
commit
a7af902f2f
19 changed files with 26 additions and 26 deletions
|
@ -2107,7 +2107,7 @@ static void CreateDefaultBinds(void) {
|
|||
}
|
||||
|
||||
void MAPPER_AddHandler(MAPPER_Handler * handler,MapKeys key,Bitu mods,char const * const eventname,char const * const buttonname) {
|
||||
//Check if it allready exists=> if so return.
|
||||
//Check if it already exists=> if so return.
|
||||
for(CHandlerEventVector_it it=handlergroup.begin();it!=handlergroup.end();it++)
|
||||
if(strcmp((*it)->buttonname,buttonname) == 0) return;
|
||||
|
||||
|
|
|
@ -1916,7 +1916,7 @@ int main(int argc, char* argv[]) {
|
|||
Section_prop * sdl_sec=static_cast<Section_prop *>(control->GetSection("sdl"));
|
||||
|
||||
if (control->cmdline->FindExist("-fullscreen") || sdl_sec->Get_bool("fullscreen")) {
|
||||
if(!sdl.desktop.fullscreen) { //only switch if not allready in fullscreen
|
||||
if(!sdl.desktop.fullscreen) { //only switch if not already in fullscreen
|
||||
GFX_SwitchFullScreen();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue