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
e904bf3b
Commit
e904bf3b
authored
Oct 25, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
16-bit resource size must be scaled by alignment.
parent
7a6cf75f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
writeres.c
tools/wrc/writeres.c
+1
-1
No files found.
tools/wrc/writeres.c
View file @
e904bf3b
...
...
@@ -767,7 +767,7 @@ static void write_ne_segment(FILE *fp, resource_t *top)
alignment_pwr
);
/* Length */
fprintf
(
fp
,
"
\t
.short
\t
%d
\n
"
,
rcp
->
rscarray
[
j
]
->
binres
->
size
-
rcp
->
rscarray
[
j
]
->
binres
->
dataidx
);
(
rcp
->
rscarray
[
j
]
->
binres
->
size
-
rcp
->
rscarray
[
j
]
->
binres
->
dataidx
+
alignment
-
1
)
>>
alignment_pwr
);
/* Flags */
fprintf
(
fp
,
"
\t
.short
\t
0x%04x
\n
"
,
(
WORD
)
rcp
->
rscarray
[
j
]
->
memopt
);
/* Id */
...
...
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