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
b6ed0ef4
Commit
b6ed0ef4
authored
Nov 06, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use %ls format for wchar strings in DoMessageBox.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
65a371c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
exit.c
dlls/msvcrt/exit.c
+2
-2
No files found.
dlls/msvcrt/exit.c
View file @
b6ed0ef4
...
...
@@ -187,8 +187,8 @@ void CDECL MSVCRT__exit(int exitcode)
/* Print out an error message with an option to debug */
static
void
DoMessageBoxW
(
const
MSVCRT_wchar_t
*
lead
,
const
MSVCRT_wchar_t
*
message
)
{
static
const
MSVCRT_wchar_t
message_format
[]
=
{
'%'
,
'
s'
,
'\n'
,
'\n'
,
'P'
,
'r'
,
'o'
,
'g'
,
'r'
,
'a'
,
'm'
,
':'
,
' '
,
'%
'
,
's'
,
'\n'
,
'%'
,
's'
,
'\n'
,
'\n'
,
'P'
,
'r'
,
'e'
,
's'
,
's'
,
' '
,
'O'
,
'K'
,
' '
,
't'
,
'o'
,
' '
,
'e'
,
'x'
,
'i'
,
't'
,
' '
,
't'
,
'h'
,
'e'
,
' '
,
static
const
MSVCRT_wchar_t
message_format
[]
=
{
'%'
,
'
l'
,
's'
,
'\n'
,
'\n'
,
'P'
,
'r'
,
'o'
,
'g'
,
'r'
,
'a'
,
'm'
,
':'
,
' '
,
'%'
,
'l
'
,
's'
,
'\n'
,
'%'
,
'
l'
,
'
s'
,
'\n'
,
'\n'
,
'P'
,
'r'
,
'e'
,
's'
,
's'
,
' '
,
'O'
,
'K'
,
' '
,
't'
,
'o'
,
' '
,
'e'
,
'x'
,
'i'
,
't'
,
' '
,
't'
,
'h'
,
'e'
,
' '
,
'p'
,
'r'
,
'o'
,
'g'
,
'r'
,
'a'
,
'm'
,
','
,
' '
,
'o'
,
'r'
,
' '
,
'C'
,
'a'
,
'n'
,
'c'
,
'e'
,
'l'
,
' '
,
't'
,
'o'
,
' '
,
's'
,
't'
,
'a'
,
'r'
,
't'
,
' '
,
't'
,
'h'
,
'e'
,
' '
,
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'd'
,
'e'
,
'b'
,
'u'
,
'g'
,
'g'
,
'e'
,
'r'
,
'.'
,
'\n'
,
0
};
static
const
WCHAR
title
[]
=
...
...
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