Commit 2ea07f28 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

oleview: Simplify ENUM_FLAGS in CreateInterfaceInfo.

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