forked from Mirrors/wine-wine
Don't include the terminating nul in the length in
MsiSummaryInfoGetPropertyW.oldstable
parent
114d399666
commit
fec220d321
|
@ -561,6 +561,7 @@ static UINT get_prop( MSIHANDLE handle, UINT uiProperty, UINT *puiDataType,
|
||||||
{
|
{
|
||||||
len = MultiByteToWideChar( CP_ACP, 0, prop->u.pszVal, -1,
|
len = MultiByteToWideChar( CP_ACP, 0, prop->u.pszVal, -1,
|
||||||
str->str.w, *pcchValueBuf );
|
str->str.w, *pcchValueBuf );
|
||||||
|
len--;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue