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
1a328d91
Commit
1a328d91
authored
Feb 13, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: Check for 16-bit file format before returning ERROR_RESOURCE_DATA_NOT_FOUND.
parent
461ce6e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
info.c
dlls/version/info.c
+4
-4
No files found.
dlls/version/info.c
View file @
1a328d91
...
...
@@ -253,9 +253,6 @@ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, DWORD datasize, LP
{
WARN
(
"Could not load %s
\n
"
,
debugstr_w
(
filename
));
if
(
GetLastError
()
==
ERROR_BAD_EXE_FORMAT
)
return
0xFFFFFFFF
;
return
0
;
}
hRsrc
=
FindResourceW
(
hModule
,
...
...
@@ -384,7 +381,10 @@ static DWORD VERSION_GetFileVersionInfo_16( LPCSTR filename, DWORD datasize, LPV
if
(
hModule
<
32
)
{
WARN
(
"Could not load %s
\n
"
,
debugstr_a
(
filename
));
return
0
;
if
(
hModule
==
ERROR_BAD_FORMAT
)
return
0xFFFFFFFF
;
else
return
0x0
;
}
hRsrc
=
FindResource16
(
hModule
,
MAKEINTRESOURCEA
(
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