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
e492a0d6
Commit
e492a0d6
authored
Feb 13, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Clean up IRichEditOleCallback implementation.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d71672eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
olecallback.c
programs/wordpad/olecallback.c
+3
-3
No files found.
programs/wordpad/olecallback.c
View file @
e492a0d6
...
...
@@ -31,7 +31,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wordpad
);
struct
IRichEditOleCallbackImpl
{
const
IRichEditOleCallbackVtbl
*
vtbl
;
IRichEditOleCallback
IRichEditOleCallback_iface
;
IStorage
*
stg
;
int
item_num
;
};
...
...
@@ -196,7 +196,7 @@ struct IRichEditOleCallbackVtbl olecallbackVtbl = {
};
struct
IRichEditOleCallbackImpl
olecallback
=
{
&
olecallbackVtbl
,
NULL
,
0
{
&
olecallbackVtbl
}
,
NULL
,
0
};
HRESULT
setup_richedit_olecallback
(
HWND
hEditorWnd
)
...
...
@@ -205,6 +205,6 @@ HRESULT setup_richedit_olecallback(HWND hEditorWnd)
STGM_READWRITE
|
STGM_SHARE_EXCLUSIVE
|
STGM_DELETEONRELEASE
,
0
,
&
olecallback
.
stg
);
SendMessageW
(
hEditorWnd
,
EM_SETOLECALLBACK
,
0
,
(
LPARAM
)
&
olecallback
);
SendMessageW
(
hEditorWnd
,
EM_SETOLECALLBACK
,
0
,
(
LPARAM
)
&
olecallback
.
IRichEditOleCallback_iface
);
return
hr
;
}
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