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
54796d65
Commit
54796d65
authored
Oct 22, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56af82b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
wsprintf.c
dlls/user32/wsprintf.c
+10
-10
No files found.
dlls/user32/wsprintf.c
View file @
54796d65
...
...
@@ -336,7 +336,7 @@ static UINT WPRINTF_GetLen( WPRINTF_FORMAT *format, WPRINTF_DATA *arg,
/***********************************************************************
* wvsnprintfA (internal)
*/
static
INT
wvsnprintfA
(
LPSTR
buffer
,
UINT
maxlen
,
LPCSTR
spec
,
__ms_
va_list
args
)
static
INT
wvsnprintfA
(
LPSTR
buffer
,
UINT
maxlen
,
LPCSTR
spec
,
va_list
args
)
{
WPRINTF_FORMAT
format
;
LPSTR
p
=
buffer
;
...
...
@@ -456,7 +456,7 @@ static INT wvsnprintfA( LPSTR buffer, UINT maxlen, LPCSTR spec, __ms_va_list arg
/***********************************************************************
* wvsnprintfW (internal)
*/
static
INT
wvsnprintfW
(
LPWSTR
buffer
,
UINT
maxlen
,
LPCWSTR
spec
,
__ms_
va_list
args
)
static
INT
wvsnprintfW
(
LPWSTR
buffer
,
UINT
maxlen
,
LPCWSTR
spec
,
va_list
args
)
{
WPRINTF_FORMAT
format
;
LPWSTR
p
=
buffer
;
...
...
@@ -574,7 +574,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list a
/***********************************************************************
* wvsprintfA (USER32.@)
*/
INT
WINAPI
wvsprintfA
(
LPSTR
buffer
,
LPCSTR
spec
,
__ms_
va_list
args
)
INT
WINAPI
wvsprintfA
(
LPSTR
buffer
,
LPCSTR
spec
,
va_list
args
)
{
INT
res
=
wvsnprintfA
(
buffer
,
1024
,
spec
,
args
);
return
(
res
==
-
1
)
?
1024
:
res
;
...
...
@@ -584,7 +584,7 @@ INT WINAPI wvsprintfA( LPSTR buffer, LPCSTR spec, __ms_va_list args )
/***********************************************************************
* wvsprintfW (USER32.@)
*/
INT
WINAPI
wvsprintfW
(
LPWSTR
buffer
,
LPCWSTR
spec
,
__ms_
va_list
args
)
INT
WINAPI
wvsprintfW
(
LPWSTR
buffer
,
LPCWSTR
spec
,
va_list
args
)
{
INT
res
=
wvsnprintfW
(
buffer
,
1024
,
spec
,
args
);
return
(
res
==
-
1
)
?
1024
:
res
;
...
...
@@ -596,12 +596,12 @@ INT WINAPI wvsprintfW( LPWSTR buffer, LPCWSTR spec, __ms_va_list args )
*/
INT
WINAPIV
wsprintfA
(
LPSTR
buffer
,
LPCSTR
spec
,
...
)
{
__ms_
va_list
valist
;
va_list
valist
;
INT
res
;
__ms_
va_start
(
valist
,
spec
);
va_start
(
valist
,
spec
);
res
=
wvsnprintfA
(
buffer
,
1024
,
spec
,
valist
);
__ms_
va_end
(
valist
);
va_end
(
valist
);
return
(
res
==
-
1
)
?
1024
:
res
;
}
...
...
@@ -611,11 +611,11 @@ INT WINAPIV wsprintfA( LPSTR buffer, LPCSTR spec, ... )
*/
INT
WINAPIV
wsprintfW
(
LPWSTR
buffer
,
LPCWSTR
spec
,
...
)
{
__ms_
va_list
valist
;
va_list
valist
;
INT
res
;
__ms_
va_start
(
valist
,
spec
);
va_start
(
valist
,
spec
);
res
=
wvsnprintfW
(
buffer
,
1024
,
spec
,
valist
);
__ms_
va_end
(
valist
);
va_end
(
valist
);
return
(
res
==
-
1
)
?
1024
:
res
;
}
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