fix formatting and msvc build

svn path=/trunk/; revision=32506
This commit is contained in:
Christoph von Wittich 2008-02-27 12:27:16 +00:00
parent f60d4ec823
commit 420b99bdde

View file

@ -66,10 +66,11 @@ InfoPropDlgProc(HWND hDlg,
INT_PTR CALLBACK INT_PTR CALLBACK
UpdatesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) UpdatesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{ {
TCHAR Buf[256];
UNREFERENCED_PARAMETER(lParam); UNREFERENCED_PARAMETER(lParam);
UNREFERENCED_PARAMETER(wParam); UNREFERENCED_PARAMETER(wParam);
UNREFERENCED_PARAMETER(hwndDlg); UNREFERENCED_PARAMETER(hwndDlg);
TCHAR Buf[256];
switch (uMsg) switch (uMsg)
{ {
@ -119,12 +120,7 @@ UpdatesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
CallUninstall(hwndDlg, IDC_UPDATESLIST, IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON, TRUE); CallUninstall(hwndDlg, IDC_UPDATESLIST, IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON, TRUE);
break; break;
case NM_CLICK: case NM_CLICK:
{ ButtonStatus(hwndDlg, (IsItemSelected(hwndDlg, IDC_UPDATESLIST)), IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON);
if (!IsItemSelected(hwndDlg, IDC_UPDATESLIST))
ButtonStatus(hwndDlg, FALSE, IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON);
else
ButtonStatus(hwndDlg, TRUE, IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON);
}
break; break;
} }
break; break;