Commit 8b424416 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Calculate the correct size of dialog templates in the propsheet

control.
parent 627423d1
......@@ -1376,7 +1376,7 @@ static UINT GetTemplateSize(DLGTEMPLATE* pTemplate)
p += lstrlenW( (LPCWSTR)p ) + 1;
break;
}
p += *p + 1; /* Skip extra data */
p += *p / sizeof(WORD) + 1; /* Skip extra data */
--nrofitems;
}
......
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