mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:43:01 +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
|
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue