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
bb9030cb
Commit
bb9030cb
authored
Jul 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Use nameless unions/structs.
parent
744237ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
dragdrop.c
dlls/winemac.drv/dragdrop.c
+2
-4
No files found.
dlls/winemac.drv/dragdrop.c
View file @
bb9030cb
...
...
@@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "macdrv_dll.h"
...
...
@@ -167,9 +165,9 @@ static HRESULT WINAPI dddo_GetData(IDataObject* iface, FORMATETC* formatEtc, STG
if
(
SUCCEEDED
(
hr
))
{
medium
->
tymed
=
TYMED_HGLOBAL
;
medium
->
u
.
hGlobal
=
get_pasteboard_data
(
This
->
pasteboard
,
formatEtc
->
cfFormat
);
medium
->
hGlobal
=
get_pasteboard_data
(
This
->
pasteboard
,
formatEtc
->
cfFormat
);
medium
->
pUnkForRelease
=
NULL
;
hr
=
medium
->
u
.
hGlobal
?
S_OK
:
E_OUTOFMEMORY
;
hr
=
medium
->
hGlobal
?
S_OK
:
E_OUTOFMEMORY
;
}
return
hr
;
...
...
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