mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[POWERCFG] Really fix the power schemes exceptions!
This commit is contained in:
parent
5d20d512be
commit
b5e6280a72
1 changed files with 2 additions and 2 deletions
|
@ -715,8 +715,8 @@ PowerSchemesDlgProc(
|
|||
{
|
||||
case WM_INITDIALOG:
|
||||
pPageData = (PPOWER_SCHEMES_PAGE_DATA)HeapAlloc(GetProcessHeap(),
|
||||
0,
|
||||
sizeof(PPOWER_SCHEMES_PAGE_DATA));
|
||||
HEAP_ZERO_MEMORY,
|
||||
sizeof(POWER_SCHEMES_PAGE_DATA));
|
||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pPageData);
|
||||
|
||||
BuildSchemesList(pPageData);
|
||||
|
|
Loading…
Reference in a new issue