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
ac85a76b
Commit
ac85a76b
authored
Dec 22, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Fix cast for dwCookie.
parent
99868d7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
editor.c
dlls/riched20/editor.c
+2
-2
No files found.
dlls/riched20/editor.c
View file @
ac85a76b
...
...
@@ -1616,7 +1616,7 @@ ME_StreamInRTFString(ME_TextEditor *editor, BOOL selection, char *string)
data
.
string
=
string
;
data
.
length
=
strlen
(
string
);
data
.
pos
=
0
;
es
.
dwCookie
=
(
DWORD
)
&
data
;
es
.
dwCookie
=
(
DWORD
_PTR
)
&
data
;
es
.
pfnCallback
=
ME_ReadFromRTFString
;
ME_StreamIn
(
editor
,
SF_RTF
|
(
selection
?
SFF_SELECTION
:
0
),
&
es
,
FALSE
);
}
...
...
@@ -2065,7 +2065,7 @@ static BOOL ME_Paste(ME_TextEditor *editor)
return
FALSE
;
gds
.
hData
=
GetClipboardData
(
cf
);
gds
.
nLength
=
0
;
es
.
dwCookie
=
(
DWORD
)
&
gds
;
es
.
dwCookie
=
(
DWORD
_PTR
)
&
gds
;
es
.
pfnCallback
=
dwFormat
==
SF_RTF
?
ME_ReadFromHGLOBALRTF
:
ME_ReadFromHGLOBALUnicode
;
ME_StreamIn
(
editor
,
dwFormat
|
SFF_SELECTION
,
&
es
,
FALSE
);
...
...
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