Commit ded2b88e authored by Alberto Massari's avatar Alberto Massari Committed by Alexandre Julliard

The object returned by IEnumFORMATETC::Clone should have the same

cursor position of the source object.
parent d9159093
......@@ -189,6 +189,8 @@ static HRESULT WINAPI IEnumFORMATETC_fnClone(LPENUMFORMATETC iface, LPENUMFORMAT
if (!ppenum) return E_INVALIDARG;
*ppenum = IEnumFORMATETC_Constructor(This->countFmt, This->pFmt);
if(*ppenum)
IEnumFORMATETC_fnSkip(*ppenum, This->posFmt);
return S_OK;
}
......
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