ole32: Correct byte count.

This commit is contained in:
Juan Lang 2009-08-19 19:21:18 -07:00 committed by Alexandre Julliard
parent c664e9f494
commit b308157bf2
1 changed files with 1 additions and 1 deletions

View File

@ -1531,7 +1531,7 @@ static BOOL PropertyStorage_DictionaryWriter(const void *key,
&count);
if (FAILED(c->hr))
goto end;
c->bytesWritten += keyLen;
c->bytesWritten += keyLen * sizeof(WCHAR);
if (keyLen % sizeof(DWORD))
{
c->hr = IStream_Write(This->stm, &pad,