Commit 8d524700 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

riched20: Make vtables const.

parent 4705d60b
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment