Module: wine Branch: master Commit: 2ea07f28bdbd533ed92ac2bc0eb6bbfe2814b998 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2ea07f28bdbd533ed92ac2bc0e...
Author: Gerald Pfeifer gerald@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);\