Gerald Pfeifer : oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.

Alexandre Julliard julliard at winehq.org
Fri Sep 18 13:37:32 CDT 2009


Module: wine
Branch: master
Commit: 2ea07f28bdbd533ed92ac2bc0eb6bbfe2814b998
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2ea07f28bdbd533ed92ac2bc0eb6bbfe2814b998

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Tue Sep 15 22:37:32 2009 +0200

oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.

---

 programs/oleview/typelib.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/programs/oleview/typelib.c b/programs/oleview/typelib.c
index 236a670..92834aa 100644
--- a/programs/oleview/typelib.c
+++ b/programs/oleview/typelib.c
@@ -984,8 +984,7 @@ static void CreateInterfaceInfo(ITypeInfo *pTypeInfo, int cImplTypes, WCHAR *wsz
     }
     if(pTypeAttr->wTypeFlags)
     {
-#define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x &&\
-        (pTypeAttr->typekind != TKIND_DISPATCH || x != TYPEFLAG_FDISPATCHABLE))\
+#define ENUM_FLAGS(x) if(pTypeAttr->wTypeFlags & x)\
         {\
             AddToTLDataStrW(pTLData, wszComa);\
             AddToTLDataStrW(pTLData, wszNewLine);\




More information about the wine-cvs mailing list