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
77e566a3
Commit
77e566a3
authored
Feb 02, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Don't set zero-size clipboard data, this no longer works.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45d82a24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
clipboard.c
dlls/ole32/clipboard.c
+2
-2
No files found.
dlls/ole32/clipboard.c
View file @
77e566a3
...
...
@@ -1110,7 +1110,7 @@ static HRESULT get_current_dataobject(IDataObject **data)
h
=
GetClipboardData
(
wine_marshal_clipboard_format
);
if
(
!
h
)
return
S_FALSE
;
if
(
GlobalSize
(
h
)
==
0
)
return
S_FALSE
;
if
(
GlobalSize
(
h
)
<=
1
)
return
S_FALSE
;
ptr
=
GlobalLock
(
h
);
if
(
!
ptr
)
return
S_FALSE
;
...
...
@@ -1957,7 +1957,7 @@ static HRESULT expose_marshalled_dataobject(ole_clipbrd *clipbrd, IDataObject *d
dup_global_mem
(
h_stm
,
GMEM_DDESHARE
|
GMEM_MOVEABLE
,
&
h
);
}
else
/* flushed */
h
=
GlobalAlloc
(
GMEM_DDESHARE
|
GMEM_MOVEABLE
,
0
);
h
=
GlobalAlloc
(
GMEM_DDESHARE
|
GMEM_MOVEABLE
,
1
);
if
(
!
h
)
return
E_OUTOFMEMORY
;
...
...
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