mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
fix indentation
svn path=/trunk/; revision=21850
This commit is contained in:
parent
62257d5444
commit
2160fab7c2
1 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue