Nikolay Sivov : oleaut32: Do nothing for TKIND_ALIAS types in ::LayOut().

Alexandre Julliard julliard at winehq.org
Tue Jan 4 09:47:32 CST 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jan  4 14:38:41 2011 +0300

oleaut32: Do nothing for TKIND_ALIAS types in ::LayOut().

---

 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 */




More information about the wine-cvs mailing list