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
942f9f71
Commit
942f9f71
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3b6b24ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
reg.c
programs/reg/reg.c
+7
-7
No files found.
programs/reg/reg.c
View file @
942f9f71
...
...
@@ -72,7 +72,7 @@ void output_writeconsole(const WCHAR *str, DWORD wlen)
}
}
static
void
output_formatstring
(
const
WCHAR
*
fmt
,
__ms_
va_list
va_args
)
static
void
output_formatstring
(
const
WCHAR
*
fmt
,
va_list
va_args
)
{
WCHAR
*
str
;
DWORD
len
;
...
...
@@ -92,7 +92,7 @@ void WINAPIV output_message(unsigned int id, ...)
{
WCHAR
*
fmt
=
NULL
;
int
len
;
__ms_
va_list
va_args
;
va_list
va_args
;
if
(
!
(
len
=
LoadStringW
(
GetModuleHandleW
(
NULL
),
id
,
(
WCHAR
*
)
&
fmt
,
0
)))
{
...
...
@@ -106,20 +106,20 @@ void WINAPIV output_message(unsigned int id, ...)
LoadStringW
(
GetModuleHandleW
(
NULL
),
id
,
fmt
,
len
);
__ms_
va_start
(
va_args
,
id
);
va_start
(
va_args
,
id
);
output_formatstring
(
fmt
,
va_args
);
__ms_
va_end
(
va_args
);
va_end
(
va_args
);
free
(
fmt
);
}
void
WINAPIV
output_string
(
const
WCHAR
*
fmt
,
...)
{
__ms_
va_list
va_args
;
va_list
va_args
;
__ms_
va_start
(
va_args
,
fmt
);
va_start
(
va_args
,
fmt
);
output_formatstring
(
fmt
,
va_args
);
__ms_
va_end
(
va_args
);
va_end
(
va_args
);
}
/* ask_confirm() adapted from programs/cmd/builtins.c */
...
...
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