infosoft/tests: COM cleanup in infosoft.c.
Michael Stefaniuc
mstefani at redhat.de
Wed Apr 27 17:45:53 CDT 2011
---
dlls/infosoft/tests/infosoft.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/infosoft/tests/infosoft.c b/dlls/infosoft/tests/infosoft.c
index 9570636..678eb72 100644
--- a/dlls/infosoft/tests/infosoft.c
+++ b/dlls/infosoft/tests/infosoft.c
@@ -19,6 +19,7 @@
*/
#define COBJMACROS
+#define CONST_VTABLE
#include <stdio.h>
#include <ole2.h>
@@ -122,10 +123,10 @@ static const IWordSinkVtbl wsvt =
typedef struct _wordsink_impl
{
- const IWordSinkVtbl *vtbl;
+ IWordSink IWordSink_iface;
} wordsink_impl;
-static wordsink_impl wordsink = { &wsvt };
+static wordsink_impl wordsink = { { &wsvt } };
static HRESULT WINAPI fillbuf_none(TEXT_SOURCE *ts)
{
--
1.7.4.4
More information about the wine-patches
mailing list