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
e3f0d408
Commit
e3f0d408
authored
Aug 01, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Use proper interface methods macros.
parent
8399033b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
editor.c
dlls/riched20/editor.c
+5
-5
No files found.
dlls/riched20/editor.c
View file @
e3f0d408
...
...
@@ -2793,8 +2793,8 @@ static void ME_DestroyEditor(ME_TextEditor *editor)
if
(
editor
->
rgbBackColor
!=
-
1
)
DeleteObject
(
editor
->
hbrBackground
);
if
(
editor
->
lpOleCallback
)
I
Unknown
_Release
(
editor
->
lpOleCallback
);
I
Unknown
_Release
(
editor
->
texthost
);
I
RichEditOleCallback
_Release
(
editor
->
lpOleCallback
);
I
TextHost
_Release
(
editor
->
texthost
);
OleUninitialize
();
FREE_OBJ
(
editor
->
pBuffer
);
...
...
@@ -4311,10 +4311,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam,
}
case
EM_SETOLECALLBACK
:
if
(
editor
->
lpOleCallback
)
I
Unknown
_Release
(
editor
->
lpOleCallback
);
editor
->
lpOleCallback
=
(
LPRICHEDITOLECALLBACK
)
lParam
;
I
RichEditOleCallback
_Release
(
editor
->
lpOleCallback
);
editor
->
lpOleCallback
=
(
IRichEditOleCallback
*
)
lParam
;
if
(
editor
->
lpOleCallback
)
I
Unknown
_AddRef
(
editor
->
lpOleCallback
);
I
RichEditOleCallback
_AddRef
(
editor
->
lpOleCallback
);
return
TRUE
;
case
EM_GETWORDBREAKPROC
:
return
(
LRESULT
)
editor
->
pfnWordBreak
;
...
...
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