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
4b2d797d
Commit
4b2d797d
authored
Mar 01, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Don't map version block names to the target language.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d18fb861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
genres.c
tools/wrc/genres.c
+4
-5
No files found.
tools/wrc/genres.c
View file @
4b2d797d
...
...
@@ -1465,7 +1465,7 @@ static void versionblock2res(res_t *res, ver_block_t *blk, int level, const lang
put_word
(
res
,
0
);
if
(
win32
)
put_word
(
res
,
0
);
/* level ? */
put_string
(
res
,
blk
->
name
,
win32
?
str_unicode
:
str_char
,
TRUE
,
lang
);
put_string
(
res
,
blk
->
name
,
win32
?
str_unicode
:
str_char
,
TRUE
,
NULL
);
put_pad
(
res
);
for
(
val
=
blk
->
values
;
val
;
val
=
val
->
next
)
{
...
...
@@ -1479,7 +1479,7 @@ static void versionblock2res(res_t *res, ver_block_t *blk, int level, const lang
{
put_word
(
res
,
level
);
}
put_string
(
res
,
val
->
key
,
win32
?
str_unicode
:
str_char
,
TRUE
,
lang
);
put_string
(
res
,
val
->
key
,
win32
?
str_unicode
:
str_char
,
TRUE
,
NULL
);
put_pad
(
res
);
tag
=
res
->
size
;
put_string
(
res
,
val
->
value
.
str
,
win32
?
str_unicode
:
str_char
,
TRUE
,
lang
);
...
...
@@ -1500,7 +1500,7 @@ static void versionblock2res(res_t *res, ver_block_t *blk, int level, const lang
{
put_word
(
res
,
level
);
}
put_string
(
res
,
val
->
key
,
win32
?
str_unicode
:
str_char
,
TRUE
,
lang
);
put_string
(
res
,
val
->
key
,
win32
?
str_unicode
:
str_char
,
TRUE
,
NULL
);
put_pad
(
res
);
tag
=
res
->
size
;
for
(
i
=
0
;
i
<
val
->
value
.
words
->
nwords
;
i
++
)
...
...
@@ -1562,8 +1562,7 @@ static res_t *versioninfo2res(name_id_t *name, versioninfo_t *ver)
put_word
(
res
,
0
);
/* ValueSize filled in later*/
if
(
win32
)
put_word
(
res
,
0
);
/* Tree-level ? */
put_string
(
res
,
&
vsvi
,
win32
?
str_unicode
:
str_char
,
TRUE
,
win32
?
ver
->
lvc
.
language
:
NULL
);
put_string
(
res
,
&
vsvi
,
win32
?
str_unicode
:
str_char
,
TRUE
,
NULL
);
if
(
win32
)
put_pad
(
res
);
tag
=
res
->
size
;
...
...
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