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
3bb44946
Commit
3bb44946
authored
Nov 20, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Avoid wvsprintfW() so we can avoid loading user32.dll.
parent
b700a1b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Makefile.in
programs/reg/Makefile.in
+2
-1
reg.c
programs/reg/reg.c
+2
-1
No files found.
programs/reg/Makefile.in
View file @
3bb44946
...
...
@@ -5,7 +5,8 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
reg.exe
APPMODE
=
-mconsole
-municode
IMPORTS
=
advapi32 user32 kernel32
IMPORTS
=
advapi32 kernel32
DELAYIMPORTS
=
user32
C_SRCS
=
reg.c
...
...
programs/reg/reg.c
View file @
3bb44946
...
...
@@ -17,6 +17,7 @@
*/
#include <windows.h>
#include <wine/unicode.h>
#include "reg.h"
static
int
reg_printfW
(
const
WCHAR
*
msg
,
...)
...
...
@@ -27,7 +28,7 @@ static int reg_printfW(const WCHAR *msg, ...)
WCHAR
msg_buffer
[
8192
];
va_start
(
va_args
,
msg
);
w
vsprintfW
(
msg_buffer
,
msg
,
va_args
);
vsprintfW
(
msg_buffer
,
msg
,
va_args
);
va_end
(
va_args
);
wlen
=
lstrlenW
(
msg_buffer
);
...
...
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