fix indentation

svn path=/trunk/; revision=21850
This commit is contained in:
Christoph von Wittich 2006-05-08 08:54:47 +00:00
parent 62257d5444
commit 2160fab7c2

View file

@ -345,12 +345,12 @@ DateTimePageProc(HWND hwndDlg,
} }
break; break;
} }
case WM_CTLCOLORSTATIC: case WM_CTLCOLORSTATIC:
{ {
if ((HWND) lParam == GetDlgItem(hwndDlg, IDC_YEARTEXT)) if ((HWND) lParam == GetDlgItem(hwndDlg, IDC_YEARTEXT))
return (int) GetSysColorBrush(COLOR_WINDOW); return (int) GetSysColorBrush(COLOR_WINDOW);
break; break;
} }
case WM_NOTIFY: case WM_NOTIFY:
{ {
LPNMHDR lpnm = (LPNMHDR)lParam; LPNMHDR lpnm = (LPNMHDR)lParam;
@ -359,12 +359,12 @@ DateTimePageProc(HWND hwndDlg,
{ {
case IDC_YEAR: case IDC_YEAR:
switch (lpnm->code) switch (lpnm->code)
{ {
case UDN_DELTAPOS: case UDN_DELTAPOS:
{ {
short wYear; short wYear;
LPNMUPDOWN updown = (LPNMUPDOWN) lpnm; LPNMUPDOWN updown = (LPNMUPDOWN) lpnm;
wYear = SendMessage(GetDlgItem(hwndDlg, IDC_YEAR), UDM_GETPOS, 0, 0); wYear = SendMessage(GetDlgItem(hwndDlg, IDC_YEAR), UDM_GETPOS, 0, 0);
/* Enable the 'Apply' button */ /* Enable the 'Apply' button */
PropSheet_Changed(GetParent(hwndDlg), hwndDlg); PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
ChangeMonthCalDate(GetDlgItem(hwndDlg, ChangeMonthCalDate(GetDlgItem(hwndDlg,
@ -374,7 +374,7 @@ DateTimePageProc(HWND hwndDlg,
wYear + updown->iDelta); wYear + updown->iDelta);
break; break;
} }
} }
break; break;
case IDC_TIMEPICKER: case IDC_TIMEPICKER:
switch (lpnm->code) switch (lpnm->code)
@ -426,11 +426,11 @@ DateTimePageProc(HWND hwndDlg,
0); 0);
break; break;
} }
case WM_DESTROY: case WM_DESTROY:
{ {
KillTimer(hwndDlg, ID_TIMER); KillTimer(hwndDlg, ID_TIMER);
break; break;
} }
} }
return FALSE; return FALSE;