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
5dcd3c4d
Commit
5dcd3c4d
authored
Jan 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg.exe: Fix broken usage of va_list.
parent
da320213
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
reg.c
programs/reg/reg.c
+3
-7
No files found.
programs/reg/reg.c
View file @
5dcd3c4d
...
...
@@ -53,18 +53,14 @@ static int reg_printfW(const WCHAR *msg, ...)
return
count
;
}
static
int
reg_message
(
int
msg
,
...
)
static
int
reg_message
(
int
msg
)
{
va_list
va_args
;
static
const
WCHAR
formatW
[]
=
{
'%'
,
's'
,
0
}
;
WCHAR
msg_buffer
[
8192
];
LoadStringW
(
GetModuleHandleW
(
NULL
),
msg
,
msg_buffer
,
sizeof
(
msg_buffer
)
/
sizeof
(
WCHAR
));
va_start
(
va_args
,
msg
);
reg_printfW
(
msg_buffer
,
va_args
);
va_end
(
va_args
);
return
0
;
return
reg_printfW
(
formatW
,
msg_buffer
);
}
static
int
reg_add
(
WCHAR
*
key_name
,
WCHAR
*
value_name
,
BOOL
value_empty
,
...
...
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