mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
This commit is contained in:
parent
0659f34aa6
commit
8acc24f000
4
win32.c
4
win32.c
@ -299,7 +299,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
|
||||
case WM_KEYDOWN: {
|
||||
// this is the rewritten ascii input function
|
||||
// it disables windows deadkey handling --> more linux like :D
|
||||
unsigned short w = 0;
|
||||
unsigned short w = 0;
|
||||
int r = 0;
|
||||
byte ks[256];
|
||||
unsigned int scan = 0;
|
||||
@ -721,7 +721,7 @@ static int Win32GdiMainLoop(void)
|
||||
* real key is in the upper 16 bits (see WM_SYSKEYDOWN in WndProcGdi()) */
|
||||
if ((_pressed_key >> 16) & WKC_TAB &&
|
||||
#endif
|
||||
!_networking && _game_mode != GM_MENU)
|
||||
!_networking && _game_mode != GM_MENU)
|
||||
_fast_forward |= 2;
|
||||
} else if (_fast_forward & 2)
|
||||
_fast_forward = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user