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
d1b43b8d
Commit
d1b43b8d
authored
Jul 08, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed workaround for 16-bit loader bug.
parent
c55dce01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
info.c
dlls/version/info.c
+2
-5
No files found.
dlls/version/info.c
View file @
d1b43b8d
...
...
@@ -442,8 +442,7 @@ DWORD WINAPI GetFileVersionInfoSizeA( LPCSTR filename, LPDWORD handle )
/* 0xFFFFFFFF means: file exists, but VERSION_INFO not found */
if
(
len
==
0xFFFFFFFF
)
return
0
;
if
(
len
)
return
len
;
/* Temporary workaround a broken behaviour of the 16-bit loader */
len
=
0
;
/* VERSION_GetFileVersionInfo_16(filename, handle, 0, NULL); */
len
=
VERSION_GetFileVersionInfo_16
(
filename
,
handle
,
0
,
NULL
);
/* 0xFFFFFFFF means: file exists, but VERSION_INFO not found */
if
(
len
==
0xFFFFFFFF
)
return
0
;
if
(
len
)
return
len
;
...
...
@@ -512,8 +511,7 @@ BOOL WINAPI GetFileVersionInfoA( LPCSTR filename, DWORD handle,
if
(
len
==
0xFFFFFFFF
)
return
FALSE
;
if
(
len
)
goto
DO_CONVERT
;
/* Temporary workaround a broken behaviour of the 16-bit loader */
len
=
0
;
/* VERSION_GetFileVersionInfo_16(filename, &handle, datasize, data); */
len
=
VERSION_GetFileVersionInfo_16
(
filename
,
&
handle
,
datasize
,
data
);
/* 0xFFFFFFFF means: file exists, but VERSION_INFO not found */
if
(
len
==
0xFFFFFFFF
)
return
FALSE
;
if
(
len
)
...
...
@@ -715,4 +713,3 @@ DWORD WINAPI VerQueryValueW( LPVOID pBlock, LPCWSTR lpSubBlock,
return
TRUE
;
}
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