Fix indentation :)

svn path=/trunk/; revision=33351
This commit is contained in:
Colin Finck 2008-05-07 20:19:43 +00:00
parent 98d47d1fc4
commit e2c529ca16

View file

@ -31,8 +31,7 @@
int circlesCount; int circlesCount;
int width, x, y; int width, x, y;
LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam, LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam, LPARAM lparam)
LPARAM lparam)
{ {
HDC hdc; HDC hdc;
RECT rect; RECT rect;
@ -41,23 +40,15 @@ LRESULT WINAPI ScreenSaverProc (HWND hwnd, UINT iMsg, WPARAM wparam,
switch (iMsg) switch (iMsg)
{ {
case WM_CREATE: case WM_CREATE:
{ SetTimer (hwnd, APP_TIMER, APP_TIMER_INTERVAL, NULL);
SetTimer (
hwnd,
APP_TIMER,
APP_TIMER_INTERVAL,
NULL);
}
break; break;
case WM_DESTROY: case WM_DESTROY:
{
KillTimer (hwnd, APP_TIMER); KillTimer (hwnd, APP_TIMER);
PostQuitMessage (0); PostQuitMessage (0);
return 0; return 0;
}
break;
case WM_TIMER: case WM_TIMER:
{
hdc = GetDC (hwnd); hdc = GetDC (hwnd);
GetClientRect (hwnd, &rect); GetClientRect (hwnd, &rect);
hbrush = CreateSolidBrush (RGB (RANDOM_COLOR, RANDOM_COLOR, RANDOM_COLOR)); hbrush = CreateSolidBrush (RGB (RANDOM_COLOR, RANDOM_COLOR, RANDOM_COLOR));