Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
2fad8ad3
Commit
2fad8ad3
authored
Jan 28, 2016
by
Dmitry Timoshkov
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Minor/cosmetic clean up.
parent
9c202682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
write_sltg.c
tools/widl/write_sltg.c
+3
-4
No files found.
tools/widl/write_sltg.c
View file @
2fad8ad3
...
...
@@ -298,9 +298,9 @@ static int add_name(struct sltg_typelib *sltg, const char *name)
else
new_size
=
(
new_size
+
1
)
&
~
1
;
if
(
aligned
_size
>
sltg
->
name_table
.
allocated
)
if
(
new
_size
>
sltg
->
name_table
.
allocated
)
{
sltg
->
name_table
.
allocated
=
max
(
sltg
->
name_table
.
allocated
*
2
,
aligned
_size
);
sltg
->
name_table
.
allocated
=
max
(
sltg
->
name_table
.
allocated
*
2
,
new
_size
);
sltg
->
name_table
.
data
=
xrealloc
(
sltg
->
name_table
.
data
,
sltg
->
name_table
.
allocated
);
}
...
...
@@ -889,9 +889,8 @@ static short write_var_desc(struct sltg_typelib *typelib, struct sltg_data *data
{
chat
(
"write_var_desc: vt VT_PTR | 0x0400 | %04x
\n
"
,
param_flags
);
vt
=
VT_PTR
|
0x0400
|
param_flags
;
param_flags
=
0
;
append_data
(
data
,
&
vt
,
sizeof
(
vt
));
write_var_desc
(
typelib
,
data
,
ref
,
param_flags
,
0
,
base_offset
,
size_instance
,
hrefmap
);
write_var_desc
(
typelib
,
data
,
ref
,
0
,
0
,
base_offset
,
size_instance
,
hrefmap
);
}
else
write_var_desc
(
typelib
,
data
,
ref
,
param_flags
,
0x0e00
,
base_offset
,
size_instance
,
hrefmap
);
...
...
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