Jon Griffiths : oleaut32: Use users default LCID for type libraries.
Alexandre Julliard
julliard at winehq.org
Mon Jun 30 08:27:42 CDT 2008
Module: wine
Branch: master
Commit: 72607b89a7d1eb2befc05191e8de1843b4c4f682
URL: http://source.winehq.org/git/wine.git/?a=commit;h=72607b89a7d1eb2befc05191e8de1843b4c4f682
Author: Jon Griffiths <jon_p_griffiths at yahoo.com>
Date: Sun Jun 29 04:50:23 2008 -0700
oleaut32: Use users default LCID for type libraries.
---
dlls/oleaut32/typelib2.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index 00c79ce..f68390c 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -214,8 +214,7 @@ static void ctl2_init_header(
This->typelib_header.magic1 = 0x5446534d;
This->typelib_header.magic2 = 0x00010002;
This->typelib_header.posguid = -1;
- This->typelib_header.lcid = 0x0409; /* or do we use the current one? */
- This->typelib_header.lcid2 = 0x0409;
+ This->typelib_header.lcid = This->typelib_header.lcid2 = GetUserDefaultLCID();
This->typelib_header.varflags = 0x40;
This->typelib_header.version = 0;
This->typelib_header.flags = 0;
More information about the wine-cvs
mailing list