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
b6f190ee
Commit
b6f190ee
authored
Aug 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: Write-strings warnings fix.
parent
ea79639b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
install.c
dlls/version/install.c
+3
-2
No files found.
dlls/version/install.c
View file @
b6f190ee
...
...
@@ -454,6 +454,7 @@ DWORD WINAPI VerInstallFileA(
buf2
=
_fetch_versioninfo
(
tmpfn
,
&
tmpvffi
);
if
(
buf2
)
{
char
*
tbuf1
,
*
tbuf2
;
static
CHAR
trans_array
[]
=
"
\\
VarFileInfo
\\
Translation"
;
UINT
len1
,
len2
;
len1
=
len2
=
40
;
...
...
@@ -470,8 +471,8 @@ DWORD WINAPI VerInstallFileA(
(
destvffi
->
dwFileSubtype
!=
tmpvffi
->
dwFileSubtype
)
)
xret
|=
VIF_MISMATCH
|
VIF_DIFFTYPE
;
if
(
VerQueryValueA
(
buf1
,
"
\\
VarFileInfo
\\
Translation"
,(
LPVOID
*
)
&
tbuf1
,
&
len1
)
&&
VerQueryValueA
(
buf2
,
"
\\
VarFileInfo
\\
Translation"
,(
LPVOID
*
)
&
tbuf2
,
&
len2
)
if
(
VerQueryValueA
(
buf1
,
trans_array
,(
LPVOID
*
)
&
tbuf1
,
&
len1
)
&&
VerQueryValueA
(
buf2
,
trans_array
,(
LPVOID
*
)
&
tbuf2
,
&
len2
)
)
{
/* Do something with tbuf1 and tbuf2
* generates DIFFLANG|MISMATCH
...
...
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