ole32: Correct byte count.
This commit is contained in:
parent
c664e9f494
commit
b308157bf2
|
@ -1531,7 +1531,7 @@ static BOOL PropertyStorage_DictionaryWriter(const void *key,
|
||||||
&count);
|
&count);
|
||||||
if (FAILED(c->hr))
|
if (FAILED(c->hr))
|
||||||
goto end;
|
goto end;
|
||||||
c->bytesWritten += keyLen;
|
c->bytesWritten += keyLen * sizeof(WCHAR);
|
||||||
if (keyLen % sizeof(DWORD))
|
if (keyLen % sizeof(DWORD))
|
||||||
{
|
{
|
||||||
c->hr = IStream_Write(This->stm, &pad,
|
c->hr = IStream_Write(This->stm, &pad,
|
||||||
|
|
Loading…
Reference in New Issue