mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:13:06 +00:00
fix formatting and msvc build
svn path=/trunk/; revision=32506
This commit is contained in:
parent
f60d4ec823
commit
420b99bdde
1 changed files with 62 additions and 66 deletions
|
@ -66,10 +66,11 @@ InfoPropDlgProc(HWND hDlg,
|
|||
INT_PTR CALLBACK
|
||||
UpdatesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
TCHAR Buf[256];
|
||||
|
||||
UNREFERENCED_PARAMETER(lParam);
|
||||
UNREFERENCED_PARAMETER(wParam);
|
||||
UNREFERENCED_PARAMETER(hwndDlg);
|
||||
TCHAR Buf[256];
|
||||
|
||||
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);
|
||||
break;
|
||||
case NM_CLICK:
|
||||
{
|
||||
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);
|
||||
}
|
||||
ButtonStatus(hwndDlg, (IsItemSelected(hwndDlg, IDC_UPDATESLIST)), IDC_UPD_REMOVE, IDC_UPD_INFO_BUTTON);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue