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
ed97fa1c
Commit
ed97fa1c
authored
Sep 09, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Add more tests for GDI and private clipboard formats.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3bab02d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
clipboard.c
dlls/user32/tests/clipboard.c
+0
-0
clipboard.c
dlls/winex11.drv/clipboard.c
+3
-2
No files found.
dlls/user32/tests/clipboard.c
View file @
ed97fa1c
This diff is collapsed.
Click to expand it.
dlls/winex11.drv/clipboard.c
View file @
ed97fa1c
...
...
@@ -569,6 +569,7 @@ static void X11DRV_CLIPBOARD_FreeData(LPWINE_CLIPDATA lpData)
switch
(
lpData
->
wFormatID
)
{
case
CF_BITMAP
:
case
CF_DSPBITMAP
:
case
CF_PALETTE
:
DeleteObject
(
lpData
->
hData
);
break
;
...
...
@@ -577,15 +578,15 @@ static void X11DRV_CLIPBOARD_FreeData(LPWINE_CLIPDATA lpData)
GlobalFree
(
lpData
->
hData
);
break
;
case
CF_METAFILEPICT
:
case
CF_DSPMETAFILEPICT
:
DeleteMetaFile
(((
METAFILEPICT
*
)
GlobalLock
(
lpData
->
hData
))
->
hMF
);
GlobalFree
(
lpData
->
hData
);
break
;
case
CF_ENHMETAFILE
:
case
CF_DSPENHMETAFILE
:
DeleteEnhMetaFile
(
lpData
->
hData
);
break
;
default:
if
(
lpData
->
wFormatID
>=
CF_GDIOBJFIRST
&&
lpData
->
wFormatID
<=
CF_GDIOBJLAST
)
break
;
if
(
lpData
->
wFormatID
>=
CF_PRIVATEFIRST
&&
lpData
->
wFormatID
<=
CF_PRIVATELAST
)
break
;
GlobalFree
(
lpData
->
hData
);
break
;
}
...
...
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