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
bbf34a4a
Commit
bbf34a4a
authored
Aug 21, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Aug 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Use the implementation of EM_PASTESPECIAL for EM_CANPASTE.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
46fef3da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
editor.c
dlls/riched20/editor.c
+1
-8
No files found.
dlls/riched20/editor.c
View file @
bbf34a4a
...
...
@@ -4039,14 +4039,7 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
return
1
;
}
case
EM_CANPASTE
:
{
UINT
nRTFFormat
=
RegisterClipboardFormatA
(
"Rich Text Format"
);
if
(
IsClipboardFormatAvailable
(
nRTFFormat
))
return
TRUE
;
if
(
IsClipboardFormatAvailable
(
CF_UNICODETEXT
))
return
TRUE
;
return
FALSE
;
}
return
paste_special
(
editor
,
0
,
NULL
,
TRUE
);
case
WM_PASTE
:
case
WM_MBUTTONDOWN
:
wParam
=
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