mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 19:10:35 +00:00
msi: Only double the returned size when szValueBuf is NULL.
This commit is contained in:
parent
d4ea51ddc9
commit
0e2db26fa3
@ -1477,7 +1477,7 @@ static UINT MSI_GetProperty( MSIHANDLE handle, LPCWSTR name,
|
||||
r = msi_strcpy_to_awstring( value, szValueBuf, pchValueBuf );
|
||||
|
||||
/* Bug required by Adobe installers */
|
||||
if (!szValueBuf->unicode)
|
||||
if (!szValueBuf->unicode && !szValueBuf->str.a)
|
||||
*pchValueBuf *= sizeof(WCHAR);
|
||||
|
||||
done:
|
||||
|
Loading…
x
Reference in New Issue
Block a user