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
3485d4de
Commit
3485d4de
authored
Feb 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Use standard va_list instead of __ms_va_list.
parent
ee9abe52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
oledlg_main.c
dlls/oledlg/oledlg_main.c
+2
-2
No files found.
dlls/oledlg/oledlg_main.c
View file @
3485d4de
...
@@ -207,7 +207,7 @@ BOOL WINAPI OleUIAddVerbMenuW(IOleObject *object, LPCWSTR shorttype,
...
@@ -207,7 +207,7 @@ BOOL WINAPI OleUIAddVerbMenuW(IOleObject *object, LPCWSTR shorttype,
args
[
1
]
=
(
DWORD_PTR
)
objecttype
;
args
[
1
]
=
(
DWORD_PTR
)
objecttype
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
resstrW
,
0
,
0
,
(
WCHAR
*
)
&
str
,
0
,
(
__ms_va_list
*
)
args
);
resstrW
,
0
,
0
,
(
WCHAR
*
)
&
str
,
0
,
(
va_list
*
)
args
);
RemoveMenu
(
hMenu
,
uPos
,
MF_BYPOSITION
);
RemoveMenu
(
hMenu
,
uPos
,
MF_BYPOSITION
);
InsertMenuW
(
hMenu
,
uPos
,
MF_BYPOSITION
|
MF_STRING
,
idmin
,
str
);
InsertMenuW
(
hMenu
,
uPos
,
MF_BYPOSITION
|
MF_STRING
,
idmin
,
str
);
...
@@ -247,7 +247,7 @@ BOOL WINAPI OleUIAddVerbMenuW(IOleObject *object, LPCWSTR shorttype,
...
@@ -247,7 +247,7 @@ BOOL WINAPI OleUIAddVerbMenuW(IOleObject *object, LPCWSTR shorttype,
args
[
0
]
=
(
DWORD_PTR
)
objecttype
;
args
[
0
]
=
(
DWORD_PTR
)
objecttype
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
resstrW
,
0
,
0
,
(
WCHAR
*
)
&
str
,
0
,
(
__ms_va_list
*
)
args
);
resstrW
,
0
,
0
,
(
WCHAR
*
)
&
str
,
0
,
(
va_list
*
)
args
);
InsertMenuW
(
hMenu
,
uPos
,
MF_BYPOSITION
|
MF_POPUP
|
MF_STRING
,
(
UINT_PTR
)
submenu
,
str
);
InsertMenuW
(
hMenu
,
uPos
,
MF_BYPOSITION
|
MF_POPUP
|
MF_STRING
,
(
UINT_PTR
)
submenu
,
str
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
...
...
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