Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7857219a
Commit
7857219a
authored
Jun 09, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Jun 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix typelib lcid fields to match those produced by midl.
parent
c98ce23f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
write_msft.c
tools/widl/write_msft.c
+6
-2
No files found.
tools/widl/write_msft.c
View file @
7857219a
...
@@ -141,7 +141,7 @@ static void ctl2_init_header(
...
@@ -141,7 +141,7 @@ static void ctl2_init_header(
typelib
->
typelib_header
.
magic1
=
0x5446534d
;
typelib
->
typelib_header
.
magic1
=
0x5446534d
;
typelib
->
typelib_header
.
magic2
=
0x00010002
;
typelib
->
typelib_header
.
magic2
=
0x00010002
;
typelib
->
typelib_header
.
posguid
=
-
1
;
typelib
->
typelib_header
.
posguid
=
-
1
;
typelib
->
typelib_header
.
lcid
=
0x0409
;
/* or do we use the current one? */
typelib
->
typelib_header
.
lcid
=
0x0409
;
typelib
->
typelib_header
.
lcid2
=
0x0
;
typelib
->
typelib_header
.
lcid2
=
0x0
;
typelib
->
typelib_header
.
varflags
=
0x40
;
typelib
->
typelib_header
.
varflags
=
0x40
;
typelib
->
typelib_header
.
version
=
0
;
typelib
->
typelib_header
.
version
=
0
;
...
@@ -2362,7 +2362,11 @@ static void set_help_string_context(msft_typelib_t *typelib)
...
@@ -2362,7 +2362,11 @@ static void set_help_string_context(msft_typelib_t *typelib)
static
void
set_lcid
(
msft_typelib_t
*
typelib
)
static
void
set_lcid
(
msft_typelib_t
*
typelib
)
{
{
const
expr_t
*
lcid_expr
=
get_attrp
(
typelib
->
typelib
->
attrs
,
ATTR_LIBLCID
);
const
expr_t
*
lcid_expr
=
get_attrp
(
typelib
->
typelib
->
attrs
,
ATTR_LIBLCID
);
typelib
->
typelib_header
.
lcid2
=
lcid_expr
?
lcid_expr
->
cval
:
0x0
;
if
(
lcid_expr
)
{
typelib
->
typelib_header
.
lcid
=
lcid_expr
->
cval
;
typelib
->
typelib_header
.
lcid2
=
lcid_expr
->
cval
;
}
}
}
static
void
set_lib_flags
(
msft_typelib_t
*
typelib
)
static
void
set_lib_flags
(
msft_typelib_t
*
typelib
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment