oleaut32: Use users default LCID for type libraries.

This commit is contained in:
Jon Griffiths 2008-06-29 04:50:23 -07:00 committed by Alexandre Julliard
parent 96b89623af
commit 72607b89a7
1 changed files with 1 additions and 2 deletions

View File

@ -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;