Module: wine Branch: master Commit: d76a15a36dc411c3809091f227e6c4719b17edba URL: http://source.winehq.org/git/wine.git/?a=commit;h=d76a15a36dc411c3809091f227...
Author: Rob Shearman rob@codeweavers.com Date: Wed May 23 19:04:49 2007 +0100
urlmon: Fix a typo in URLMonikerImpl_Save.
The data in This->URLName should be written out, not the pointer followed by garbage.
---
dlls/urlmon/umon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c index 7765f27..0f86b83 100644 --- a/dlls/urlmon/umon.c +++ b/dlls/urlmon/umon.c @@ -454,7 +454,7 @@ static HRESULT WINAPI URLMonikerImpl_Save(IMoniker* iface, len = strlenW(This->URLName); res=IStream_Write(pStm,&len,sizeof(ULONG),NULL); if(SUCCEEDED(res)) - res=IStream_Write(pStm,&This->URLName,len*sizeof(WCHAR),NULL); + res=IStream_Write(pStm,This->URLName,len*sizeof(WCHAR),NULL); return res;
}