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
90685fcf
Commit
90685fcf
authored
Sep 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg.exe: Get rid of remaining uses of Unicode macros.
parent
69869758
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
programs/reg/Makefile.in
+0
-1
reg.c
programs/reg/reg.c
+2
-2
No files found.
programs/reg/Makefile.in
View file @
90685fcf
...
...
@@ -6,7 +6,6 @@ VPATH = @srcdir@
MODULE
=
reg.exe
APPMODE
=
-mconsole
-municode
IMPORTS
=
advapi32 user32 kernel32
EXTRADEFS
=
-DUNICODE
C_SRCS
=
reg.c
...
...
programs/reg/reg.c
View file @
90685fcf
...
...
@@ -27,7 +27,7 @@ static int reg_printfW(const WCHAR *msg, ...)
WCHAR
msg_buffer
[
8192
];
va_start
(
va_args
,
msg
);
wvsprintf
(
msg_buffer
,
msg
,
va_args
);
wvsprintf
W
(
msg_buffer
,
msg
,
va_args
);
va_end
(
va_args
);
wlen
=
lstrlenW
(
msg_buffer
);
...
...
@@ -57,7 +57,7 @@ static int reg_message(int msg, ...)
va_list
va_args
;
WCHAR
msg_buffer
[
8192
];
LoadString
(
GetModuleHandle
(
NULL
),
msg
,
msg_buffer
,
LoadString
W
(
GetModuleHandleW
(
NULL
),
msg
,
msg_buffer
,
sizeof
(
msg_buffer
)
/
sizeof
(
WCHAR
));
va_start
(
va_args
,
msg
);
reg_printfW
(
msg_buffer
,
va_args
);
...
...
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