Commit d76a15a3 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

urlmon: Fix a typo in URLMonikerImpl_Save.

The data in This->URLName should be written out, not the pointer followed by garbage.
parent 873905ac
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment