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
8d524700
Commit
8d524700
authored
Sep 07, 2009
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Make vtables const.
parent
4705d60b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
editstr.h
dlls/riched20/editstr.h
+1
-1
txthost.c
dlls/riched20/txthost.c
+3
-3
No files found.
dlls/riched20/editstr.h
View file @
8d524700
...
...
@@ -51,7 +51,7 @@
#include "wine/debug.h"
#ifdef __i386__
extern
struct
ITextHostVtbl
itextHostStdcallVtbl
;
extern
const
struct
ITextHostVtbl
itextHostStdcallVtbl
;
#endif
/* __i386__ */
typedef
struct
tagME_String
...
...
dlls/riched20/txthost.c
View file @
8d524700
...
...
@@ -42,7 +42,7 @@ typedef struct ITextHostImpl {
BOOL
bEmulateVersion10
;
}
ITextHostImpl
;
static
ITextHostVtbl
textHostVtbl
;
static
const
ITextHostVtbl
textHostVtbl
;
ITextHost
*
ME_CreateTextHost
(
HWND
hwnd
,
BOOL
bEmulateVersion10
)
{
...
...
@@ -635,7 +635,7 @@ DEFINE_STDCALL_WRAPPER(39,ITextHostImpl_TxImmGetContext,4)
DEFINE_STDCALL_WRAPPER
(
40
,
ITextHostImpl_TxImmReleaseContext
,
8
)
DEFINE_STDCALL_WRAPPER
(
41
,
ITextHostImpl_TxGetSelectionBarWidth
,
8
)
ITextHostVtbl
itextHostStdcallVtbl
=
{
const
ITextHostVtbl
itextHostStdcallVtbl
=
{
NULL
,
NULL
,
NULL
,
...
...
@@ -682,7 +682,7 @@ ITextHostVtbl itextHostStdcallVtbl = {
#endif
/* __i386__ */
static
ITextHostVtbl
textHostVtbl
=
{
static
const
ITextHostVtbl
textHostVtbl
=
{
ITextHostImpl_QueryInterface
,
ITextHostImpl_AddRef
,
ITextHostImpl_Release
,
...
...
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