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
4e10f0e0
Commit
4e10f0e0
authored
May 10, 2004
by
Ulrich Czekalla
Committed by
Alexandre Julliard
May 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clipboard regression.
parent
683ea2f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
clipboard.c
windows/clipboard.c
+4
-14
No files found.
windows/clipboard.c
View file @
4e10f0e0
...
@@ -557,15 +557,10 @@ HANDLE16 WINAPI SetClipboardData16(UINT16 wFormat, HANDLE16 hData)
...
@@ -557,15 +557,10 @@ HANDLE16 WINAPI SetClipboardData16(UINT16 wFormat, HANDLE16 hData)
TRACE
(
"(%04X, %04x) !
\n
"
,
wFormat
,
hData
);
TRACE
(
"(%04X, %04x) !
\n
"
,
wFormat
,
hData
);
if
(
!
CLIPBOARD_GetClipboardInfo
(
&
cbinfo
)
||
!
(
cbinfo
.
flags
&
CB_OPEN
))
{
WARN
(
"Clipboard not opened by calling task. Operation failed.
\n
"
);
return
0
;
}
/* If it's not owned, data can only be set if the format doesn't exists
/* If it's not owned, data can only be set if the format doesn't exists
and its rendering is not delayed */
and its rendering is not delayed */
if
(
!
(
cbinfo
.
flags
&
CB_OWNER
)
&&
!
hData
)
if
(
!
CLIPBOARD_GetClipboardInfo
(
&
cbinfo
)
||
(
!
(
cbinfo
.
flags
&
CB_OWNER
)
&&
!
hData
))
{
{
WARN
(
"Clipboard not owned by calling task. Operation failed.
\n
"
);
WARN
(
"Clipboard not owned by calling task. Operation failed.
\n
"
);
return
0
;
return
0
;
...
@@ -592,15 +587,10 @@ HANDLE WINAPI SetClipboardData(UINT wFormat, HANDLE hData)
...
@@ -592,15 +587,10 @@ HANDLE WINAPI SetClipboardData(UINT wFormat, HANDLE hData)
TRACE
(
"(%04X, %p) !
\n
"
,
wFormat
,
hData
);
TRACE
(
"(%04X, %p) !
\n
"
,
wFormat
,
hData
);
if
(
!
CLIPBOARD_GetClipboardInfo
(
&
cbinfo
)
||
!
(
cbinfo
.
flags
&
CB_OPEN
))
{
WARN
(
"Clipboard not opened by calling task. Operation failed.
\n
"
);
return
0
;
}
/* If it's not owned, data can only be set if the format isn't
/* If it's not owned, data can only be set if the format isn't
available and its rendering is not delayed */
available and its rendering is not delayed */
if
(
!
(
cbinfo
.
flags
&
CB_OWNER
)
&&
!
hData
)
if
(
!
CLIPBOARD_GetClipboardInfo
(
&
cbinfo
)
||
(
!
(
cbinfo
.
flags
&
CB_OWNER
)
&&
!
hData
))
{
{
WARN
(
"Clipboard not owned by calling task. Operation failed.
\n
"
);
WARN
(
"Clipboard not owned by calling task. Operation failed.
\n
"
);
return
0
;
return
0
;
...
...
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