oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.

This commit is contained in:
Gerald Pfeifer 2009-09-15 22:37:32 +02:00 committed by Alexandre Julliard
parent e51b20bf05
commit 2ea07f28bd
1 changed files with 1 additions and 2 deletions

View File

@ -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);\