urlmon: Fix a typo in URLMonikerImpl_Save.

The data in This->URLName should be written out, not the pointer 
followed by garbage.
This commit is contained in:
Rob Shearman 2007-05-23 19:04:49 +01:00 committed by Alexandre Julliard
parent 873905ac43
commit d76a15a36d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}