Jon Griffiths : oleaut32: ICreateTypeLib2_SetLcid sets both LCID's.

Alexandre Julliard julliard at winehq.org
Mon Jun 30 08:27:42 CDT 2008


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

Author: Jon Griffiths <jon_p_griffiths at yahoo.com>
Date:   Sun Jun 29 05:09:33 2008 -0700

oleaut32: ICreateTypeLib2_SetLcid sets both LCID's.

---

 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 f68390c..653e881 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3203,7 +3203,7 @@ static HRESULT WINAPI ICreateTypeLib2_fnSetLcid(ICreateTypeLib2 * iface, LCID lc
 
     TRACE("(%p,%d)\n", iface, lcid);
 
-    This->typelib_header.lcid2 = lcid;
+    This->typelib_header.lcid = This->typelib_header.lcid2 = lcid;
 
     return S_OK;
 }




More information about the wine-cvs mailing list