Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1fa82e51
Commit
1fa82e51
authored
Nov 18, 2003
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply same magic to LibAttr.lcid from MSFT to SLTG.
parent
d8685497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
typelib.c
dlls/oleaut32/typelib.c
+5
-2
No files found.
dlls/oleaut32/typelib.c
View file @
1fa82e51
...
...
@@ -2184,7 +2184,7 @@ static ITypeLib2* ITypeLib2_Constructor_MSFT(LPVOID pLib, DWORD dwTLBLength)
/* pTypeLibImpl->LibAttr.lcid = tlbHeader.lcid;*/
/* Windows seems to have zero here, is this correct? */
if
(
SUBLANGID
(
tlbHeader
.
lcid
)
==
SUBLANG_NEUTRAL
)
pTypeLibImpl
->
LibAttr
.
lcid
=
PRIMARYLANGID
(
tlbHeader
.
lcid
);
pTypeLibImpl
->
LibAttr
.
lcid
=
MAKELCID
(
MAKELANGID
(
PRIMARYLANGID
(
tlbHeader
.
lcid
),
0
),
0
);
else
pTypeLibImpl
->
LibAttr
.
lcid
=
0
;
...
...
@@ -2429,7 +2429,10 @@ static DWORD SLTG_ReadLibBlk(LPVOID pLibBlk, ITypeLibImpl *pTypeLibImpl)
pTypeLibImpl
->
LibAttr
.
syskind
=
*
(
WORD
*
)
ptr
;
ptr
+=
2
;
pTypeLibImpl
->
LibAttr
.
lcid
=
*
(
WORD
*
)
ptr
;
if
(
SUBLANGID
(
*
(
WORD
*
)
ptr
)
==
SUBLANG_NEUTRAL
)
pTypeLibImpl
->
LibAttr
.
lcid
=
MAKELCID
(
MAKELANGID
(
PRIMARYLANGID
(
*
(
WORD
*
)
ptr
),
0
),
0
);
else
pTypeLibImpl
->
LibAttr
.
lcid
=
0
;
ptr
+=
2
;
ptr
+=
4
;
/* skip res12 */
...
...
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