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;
|
p += lstrlenW( (LPCWSTR)p ) + 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
p += *p + 1; /* Skip extra data */
|
p += *p / sizeof(WORD) + 1; /* Skip extra data */
|
||||||
--nrofitems;
|
--nrofitems;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue