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
de03abd5
Commit
de03abd5
authored
Jun 24, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: FormatMessage precision arguments are integers.
parent
e4300d61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
format_msg.c
dlls/kernel32/format_msg.c
+3
-3
No files found.
dlls/kernel32/format_msg.c
View file @
de03abd5
...
@@ -127,7 +127,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
...
@@ -127,7 +127,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
DWORD
flags
,
struct
format_args
*
args
,
DWORD
flags
,
struct
format_args
*
args
,
LPWSTR
*
result
)
LPWSTR
*
result
)
{
{
static
const
WCHAR
fmt_
lu
[]
=
{
'%'
,
'l
'
,
'u'
,
0
};
static
const
WCHAR
fmt_
u
[]
=
{
'%
'
,
'u'
,
0
};
WCHAR
*
wstring
=
NULL
,
*
p
,
fmt
[
256
];
WCHAR
*
wstring
=
NULL
,
*
p
,
fmt
[
256
];
ULONG_PTR
arg
;
ULONG_PTR
arg
;
int
size
;
int
size
;
...
@@ -167,7 +167,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
...
@@ -167,7 +167,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
{
{
if
(
*
format
==
'*'
)
if
(
*
format
==
'*'
)
{
{
p
+=
sprintfW
(
p
,
fmt_
l
u
,
get_arg
(
insert
,
flags
,
args
));
p
+=
sprintfW
(
p
,
fmt_u
,
get_arg
(
insert
,
flags
,
args
));
insert
=
-
1
;
insert
=
-
1
;
format
++
;
format
++
;
}
}
...
@@ -180,7 +180,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
...
@@ -180,7 +180,7 @@ static LPCWSTR format_insert( BOOL unicode_caller, int insert, LPCWSTR format,
*
p
++
=
*
format
++
;
*
p
++
=
*
format
++
;
if
(
*
format
==
'*'
)
if
(
*
format
==
'*'
)
{
{
p
+=
sprintfW
(
p
,
fmt_
l
u
,
get_arg
(
insert
,
flags
,
args
));
p
+=
sprintfW
(
p
,
fmt_u
,
get_arg
(
insert
,
flags
,
args
));
insert
=
-
1
;
insert
=
-
1
;
format
++
;
format
++
;
}
}
...
...
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