replace leading tabs in several more files

This commit is contained in:
nhmall
2022-05-30 12:38:22 -04:00
parent a8f0e91ddf
commit 4a8deefaa3
19 changed files with 176 additions and 176 deletions

View File

@@ -3033,8 +3033,8 @@ default_checkinput(
& RIGHTBUTTON)
*mod = CLICK_2;
#if 0 /* middle button */
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
#endif
return 0;
}
@@ -3501,18 +3501,18 @@ ray_checkinput(
& RIGHTBUTTON)
*mod = CLICK_2;
#if 0 /* middle button */
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
#endif
return 0;
}
}
#if 0
/* We ignore these types of console events */
else if (ir->EventType == FOCUS_EVENT) {
}
else if (ir->EventType == MENU_EVENT) {
}
/* We ignore these types of console events */
else if (ir->EventType == FOCUS_EVENT) {
}
else if (ir->EventType == MENU_EVENT) {
}
#endif
}
} else
@@ -3808,8 +3808,8 @@ nh340_checkinput(
& RIGHTBUTTON)
*mod = CLICK_2;
#if 0 /* middle button */
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
else if (ir->Event.MouseEvent.dwButtonState & MIDBUTTON)
*mod = CLICK_3;
#endif
return 0;
}

View File

@@ -642,7 +642,7 @@ attempt_restore:
if (g.program_state.in_self_recover) {
g.program_state.in_self_recover = FALSE;
set_savefile_name(TRUE);
}
}
}
if (!resuming) {

View File

@@ -490,8 +490,8 @@ getreturn(const char *str)
initializing the window port */
void nethack_enter_windows(void)
{
if (WINDOWPORT("tty"))
nethack_enter_consoletty();
if (WINDOWPORT("tty"))
nethack_enter_consoletty();
}
/* CP437 to Unicode mapping according to the Unicode Consortium */