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:
parent
873905ac43
commit
d76a15a36d
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue