Dan Hipschman : oleaut32: Use the symbolic name for TYPEFLAG_FDISPATCHABLE.

Alexandre Julliard julliard at winehq.org
Thu Jan 24 07:21:17 CST 2008


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

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Wed Jan 23 16:56:02 2008 -0800

oleaut32: Use the symbolic name for TYPEFLAG_FDISPATCHABLE.

---

 dlls/oleaut32/typelib2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index 7464b0c..00c79ce 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -1225,7 +1225,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetTypeFlags(ICreateTypeInfo2 *iface, U
 
     This->typeinfo->flags = uTypeFlags;
 
-    if (uTypeFlags & 0x1000) {
+    if (uTypeFlags & TYPEFLAG_FDISPATCHABLE) {
 	MSFT_GuidEntry foo;
 	int guidoffset;
 	int fileoffset;




More information about the wine-cvs mailing list