mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[CHARMAP]
- remove dead code CID 1237028 [SETUPAPI] - fix swapped arguments CID 1237062 svn path=/trunk/; revision=64546
This commit is contained in:
parent
5550a89326
commit
6b033493e6
2 changed files with 3 additions and 2 deletions
|
@ -90,8 +90,9 @@ extern void LoadSettings(void)
|
|||
}
|
||||
|
||||
RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, (LPBYTE)&dwAdvanChecked, &size);
|
||||
|
||||
if(dwAdvanChecked == TRUE)
|
||||
SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, (dwAdvanChecked ? MF_CHECKED : MF_UNCHECKED), 0);
|
||||
SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, MF_CHECKED, 0);
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
|
|
@ -1090,7 +1090,7 @@ pSetupCenterWindowRelativeToParent(HWND hwnd)
|
|||
posX = ((nOwnerWidth - nWindowWidth) / 2) + ptOrigin.x;
|
||||
posY = ((nOwnerHeight - nWindowHeight) / 2) + ptOrigin.y;
|
||||
|
||||
MoveWindow(hwnd, posX, posY, nWindowHeight, nWindowWidth, 0);
|
||||
MoveWindow(hwnd, posX, posY, nWindowWidth, nWindowHeight, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue