Commit c9b74426 authored by Thomas Weidenmueller's avatar Thomas Weidenmueller Committed by Alexandre Julliard

It should be allowed to pass NULL handles in the phpage array of the

PROPSHEETHEADER structure to PropertySheet(), just ignore them.
parent 42eff0f9
......@@ -452,6 +452,9 @@ BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
DWORD dwFlags;
int width, height;
if (!lppsp)
return FALSE;
TRACE("\n");
psInfo->proppage[index].hpage = (HPROPSHEETPAGE)lppsp;
psInfo->proppage[index].hwndPage = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment