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