From 1b4a0897b6944910edaeb8f34769a092110c0a0c Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 8 Jul 2005 22:25:24 +0000 Subject: (svn r2535) Tabs --- win32.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'win32.c') diff --git a/win32.c b/win32.c index 640242a3c..590e41600 100644 --- a/win32.c +++ b/win32.c @@ -103,7 +103,7 @@ typedef struct { #define AS(x, z) {x, 0, z} #define AM(x, y, z, w) {x, y - x, z} -#ifndef VK_OEM_3 +#ifndef VK_OEM_3 #define VK_OEM_3 0xC0 #endif @@ -148,9 +148,9 @@ static uint MapWindowsKey(uint sym) } } - if (GetAsyncKeyState(VK_SHIFT)<0) key |= WKC_SHIFT; - if (GetAsyncKeyState(VK_CONTROL)<0) key |= WKC_CTRL; - if (GetAsyncKeyState(VK_MENU)<0) key |= WKC_ALT; + if (GetAsyncKeyState(VK_SHIFT) < 0) key |= WKC_SHIFT; + if (GetAsyncKeyState(VK_CONTROL) < 0) key |= WKC_CTRL; + if (GetAsyncKeyState(VK_MENU) < 0) key |= WKC_ALT; return key; } @@ -318,7 +318,7 @@ static LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP ClientSizeChanged(_wnd.width, _wnd.height); MarkWholeScreenDirty(); } - } break; + } break; case WM_SYSKEYDOWN: /* user presses F10 or Alt, both activating the title-menu */ switch (wParam) { @@ -1073,7 +1073,8 @@ static uint32 *_crc_table; static void MakeCRCTable(uint32 *table) { uint32 crc, poly = 0xEDB88320L; - int i, j; + int i; + int j; _crc_table = table; -- cgit v1.2.3-70-g09d2