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
1250131b
Commit
1250131b
authored
Feb 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Use standard va_list instead of __ms_va_list.
parent
ee165ebd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
fontdlg.c
dlls/comdlg32/fontdlg.c
+1
-2
printdlg.c
dlls/comdlg32/printdlg.c
+1
-3
No files found.
dlls/comdlg32/fontdlg.c
View file @
1250131b
...
...
@@ -1108,8 +1108,7 @@ static LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFO
args
[
0
]
=
lpcf
->
nSizeMin
;
args
[
1
]
=
lpcf
->
nSizeMax
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
format
,
0
,
0
,
msgW
,
ARRAY_SIZE
(
msgW
),
(
__ms_va_list
*
)
args
);
format
,
0
,
0
,
msgW
,
ARRAY_SIZE
(
msgW
),
(
va_list
*
)
args
);
MessageBoxW
(
hDlg
,
msgW
,
NULL
,
MB_OK
);
}
return
(
TRUE
);
...
...
dlls/comdlg32/printdlg.c
View file @
1250131b
...
...
@@ -696,9 +696,7 @@ static BOOL PRINTDLG_UpdatePrintDlgW(HWND hDlg,
args
[
0
]
=
lppd
->
nMinPage
;
args
[
1
]
=
lppd
->
nMaxPage
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
resourcestr
,
0
,
0
,
resultstr
,
ARRAY_SIZE
(
resultstr
),
(
__ms_va_list
*
)
args
);
resourcestr
,
0
,
0
,
resultstr
,
ARRAY_SIZE
(
resultstr
),
(
va_list
*
)
args
);
LoadStringW
(
COMDLG32_hInstance
,
PD32_PRINT_TITLE
,
resourcestr
,
255
);
MessageBoxW
(
hDlg
,
resultstr
,
resourcestr
,
...
...
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