[PATCH 5/5] Do nothing for TKIND_ALIAS types in ::LayOut()

Nikolay Sivov nsivov at codeweavers.com
Tue Jan 4 05:38:41 CST 2011


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

diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index d4a0ae6..8260ef2 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -2623,10 +2623,10 @@ static HRESULT WINAPI ICreateTypeInfo2_fnLayOut(
     unsigned user_vft = 0;
     int i;
 
-    TRACE("(%p)\n", iface);
+    TRACE("(%p)\n", This);
 
     /* FIXME: LayOut should be run on all ImplTypes */
-    if(This->typekind == TKIND_COCLASS)
+    if(This->typekind == TKIND_COCLASS || This->typekind == TKIND_ALIAS)
         return S_OK;
 
     /* Validate inheritance */
-- 
1.5.6.5



--------------090504010409020202040008--



More information about the wine-patches mailing list