Fixed IEnumFORMATETC::Clone
Alberto Massari
alby at exln.com
Thu Nov 7 05:15:34 CST 2002
ChangeLog:
- The object returned by IEnumFORMATETC::Clone should have the same cursor
position of the source object
Alberto
Index: dataobject.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/dataobject.c,v
retrieving revision 1.32
diff -u -r1.32 dataobject.c
--- dataobject.c 24 Jul 2002 01:56:03 -0000 1.32
+++ dataobject.c 7 Nov 2002 11:11:33 -0000
@@ -189,6 +189,8 @@
if (!ppenum) return E_INVALIDARG;
*ppenum = IEnumFORMATETC_Constructor(This->countFmt, This->pFmt);
+ if(*ppenum)
+ IEnumFORMATETC_fnSkip(*ppenum, This->posFmt);
return S_OK;
}
More information about the wine-patches
mailing list