projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5d20d51
)
[POWERCFG] Really fix the power schemes exceptions!
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 5 May 2019 15:00:57 +0000
(17:00 +0200)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 5 May 2019 15:05:59 +0000
(17:05 +0200)
dll/cpl/powercfg/powershemes.c
patch
|
blob
|
history
diff --git
a/dll/cpl/powercfg/powershemes.c
b/dll/cpl/powercfg/powershemes.c
index
7654f17
..
dfebc96
100644
(file)
--- a/
dll/cpl/powercfg/powershemes.c
+++ b/
dll/cpl/powercfg/powershemes.c
@@
-715,8
+715,8
@@
PowerSchemesDlgProc(
{
case WM_INITDIALOG:
pPageData = (PPOWER_SCHEMES_PAGE_DATA)HeapAlloc(GetProcessHeap(),
-
0
,
- sizeof(P
P
OWER_SCHEMES_PAGE_DATA));
+
HEAP_ZERO_MEMORY
,
+ sizeof(POWER_SCHEMES_PAGE_DATA));
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pPageData);
BuildSchemesList(pPageData);