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
bac8aff2
Commit
bac8aff2
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icinfo: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2f680d28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
icinfo.c
programs/icinfo/icinfo.c
+3
-3
No files found.
programs/icinfo/icinfo.c
View file @
bac8aff2
...
...
@@ -26,14 +26,14 @@ static int WINAPIV mywprintf(const WCHAR *format, ...)
{
static
char
output_bufA
[
65536
];
static
WCHAR
output_bufW
[
sizeof
(
output_bufA
)];
__ms_
va_list
parms
;
va_list
parms
;
DWORD
nOut
;
BOOL
res
=
FALSE
;
HANDLE
hout
=
GetStdHandle
(
STD_OUTPUT_HANDLE
);
__ms_
va_start
(
parms
,
format
);
va_start
(
parms
,
format
);
vswprintf
(
output_bufW
,
ARRAY_SIZE
(
output_bufW
),
format
,
parms
);
__ms_
va_end
(
parms
);
va_end
(
parms
);
/* Try to write as unicode whenever we think it's a console */
if
(((
DWORD_PTR
)
hout
&
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