Commit 24e158e9 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Only double the size if the remote call is from MsiGetPropertyA.

parent 929acbcb
......@@ -1475,7 +1475,10 @@ static UINT MSI_GetProperty( MSIHANDLE handle, LPCWSTR name,
goto done;
r = msi_strcpy_to_awstring( value, szValueBuf, pchValueBuf );
*pchValueBuf *= sizeof(WCHAR); /* Bug required by Adobe installers */
/* Bug required by Adobe installers */
if (!szValueBuf->unicode)
*pchValueBuf *= sizeof(WCHAR);
done:
IWineMsiRemotePackage_Release(remote_package);
......
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