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
472763c5
Commit
472763c5
authored
Dec 06, 2021
by
Derek Lesho
Committed by
Alexandre Julliard
Dec 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Fix parameter order of FindResourceExW call for non-localized path.
Signed-off-by:
Derek Lesho
<
dlesho@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
78bd41af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
version.c
dlls/kernelbase/version.c
+4
-4
No files found.
dlls/kernelbase/version.c
View file @
472763c5
...
...
@@ -781,8 +781,8 @@ DWORD WINAPI GetFileVersionInfoSizeExW( DWORD flags, LPCWSTR filename, LPDWORD r
if
(
!
(
flags
&
FILE_VER_GET_LOCALISED
))
{
LANGID
english
=
MAKELANGID
(
LANG_ENGLISH
,
SUBLANG_DEFAULT
);
hRsrc
=
FindResourceExW
(
hModule
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
)
,
(
LPWSTR
)
VS_FILE_INFO
,
english
);
hRsrc
=
FindResourceExW
(
hModule
,
(
LPWSTR
)
VS_FILE_INFO
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
)
,
english
);
}
if
(
!
hRsrc
)
hRsrc
=
FindResourceW
(
hModule
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
),
...
...
@@ -887,8 +887,8 @@ BOOL WINAPI GetFileVersionInfoExW( DWORD flags, LPCWSTR filename, DWORD ignored,
if
(
!
(
flags
&
FILE_VER_GET_LOCALISED
))
{
LANGID
english
=
MAKELANGID
(
LANG_ENGLISH
,
SUBLANG_DEFAULT
);
hRsrc
=
FindResourceExW
(
hModule
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
)
,
(
LPWSTR
)
VS_FILE_INFO
,
english
);
hRsrc
=
FindResourceExW
(
hModule
,
(
LPWSTR
)
VS_FILE_INFO
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
)
,
english
);
}
if
(
!
hRsrc
)
hRsrc
=
FindResourceW
(
hModule
,
MAKEINTRESOURCEW
(
VS_VERSION_INFO
),
...
...
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