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
91421f0f
Commit
91421f0f
authored
Jan 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcopy.exe: Don't use wvsprintf on sysv-style varargs, use a libwine function instead.
parent
854c9b20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xcopy.c
programs/xcopy/xcopy.c
+2
-2
No files found.
programs/xcopy/xcopy.c
View file @
91421f0f
...
...
@@ -43,6 +43,7 @@
#include <stdio.h>
#include <windows.h>
#include <wine/debug.h>
#include <wine/unicode.h>
#include "xcopy.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
xcopy
);
...
...
@@ -999,9 +1000,8 @@ int XCOPY_wprintf(const WCHAR *format, ...) {
return
0
;
}
/* Use wvsprintf to store output into unicode buffer */
va_start
(
parms
,
format
);
len
=
vs
wprintf
(
output_bufW
,
format
,
parms
);
len
=
vs
nprintfW
(
output_bufW
,
MAX_WRITECONSOLE_SIZE
/
sizeof
(
WCHAR
)
,
format
,
parms
);
va_end
(
parms
);
/* Try to write as unicode all the time we think its a console */
...
...
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