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
8cf8285a
Commit
8cf8285a
authored
Jan 02, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Write actual (not aligned) sizes in the resource headers.
parent
93722745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
res32.c
tools/winebuild/res32.c
+2
-2
No files found.
tools/winebuild/res32.c
View file @
8cf8285a
...
...
@@ -477,7 +477,7 @@ void output_resources( DLLSPEC *spec )
for
(
i
=
0
,
res
=
spec
->
resources
;
i
<
spec
->
nb_resources
;
i
++
,
res
++
)
output
(
"
\t
.long .L__wine_spec_res_%d-.L__wine_spec_rva_base,%u,0,0
\n
"
,
i
,
(
res
->
data_size
+
3
)
&
~
3
);
i
,
res
->
data_size
);
/* dump the name strings */
...
...
@@ -578,7 +578,7 @@ void output_bin_resources( DLLSPEC *spec, unsigned int start_rva )
for
(
i
=
0
,
res
=
spec
->
resources
;
i
<
spec
->
nb_resources
;
i
++
,
res
++
)
{
put_dword
(
data_offset
+
start_rva
);
put_dword
(
(
res
->
data_size
+
3
)
&
~
3
);
put_dword
(
res
->
data_size
);
put_dword
(
0
);
put_dword
(
0
);
data_offset
+=
(
res
->
data_size
+
3
)
&
~
3
;
...
...
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