Calculate the correct size of dialog templates in the propsheet
control.
This commit is contained in:
parent
627423d10b
commit
8b424416bb
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue