mirror of https://github.com/OpenTTD/OpenTTD
(svn r2086) - Codechange: Two indentation fixes coming from Loic Guilloux' patch 1171208.
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: {
|
case WM_KEYDOWN: {
|
||||||
// this is the rewritten ascii input function
|
// this is the rewritten ascii input function
|
||||||
// it disables windows deadkey handling --> more linux like :D
|
// it disables windows deadkey handling --> more linux like :D
|
||||||
unsigned short w = 0;
|
unsigned short w = 0;
|
||||||
int r = 0;
|
int r = 0;
|
||||||
byte ks[256];
|
byte ks[256];
|
||||||
unsigned int scan = 0;
|
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()) */
|
* real key is in the upper 16 bits (see WM_SYSKEYDOWN in WndProcGdi()) */
|
||||||
if ((_pressed_key >> 16) & WKC_TAB &&
|
if ((_pressed_key >> 16) & WKC_TAB &&
|
||||||
#endif
|
#endif
|
||||||
!_networking && _game_mode != GM_MENU)
|
!_networking && _game_mode != GM_MENU)
|
||||||
_fast_forward |= 2;
|
_fast_forward |= 2;
|
||||||
} else if (_fast_forward & 2)
|
} else if (_fast_forward & 2)
|
||||||
_fast_forward = 0;
|
_fast_forward = 0;
|
||||||
|
|
Loading…
Reference in New Issue