Juan Lang : ole32: Correct byte count.
Alexandre Julliard
julliard at winehq.org
Thu Aug 20 12:59:00 CDT 2009
Module: wine
Branch: master
Commit: b308157bf275bacadf1d0547b21f0bb5b2a72e02
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b308157bf275bacadf1d0547b21f0bb5b2a72e02
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Aug 19 19:21:18 2009 -0700
ole32: Correct byte count.
---
dlls/ole32/stg_prop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 93653bb..9bf9481 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -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,
More information about the wine-cvs
mailing list