From 8808fccd576ec956013fd671eb93410a7e4c62e8 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 16 Dec 2009 10:34:01 +0000 Subject: [PATCH] riched20: Initialise window size. Found by Valgrind. --- dlls/riched20/editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 3dc11337d88..2ae4f94c623 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2646,6 +2646,7 @@ ME_TextEditor *ME_MakeEditor(ITextHost *texthost, BOOL bEmulateVersion10) ed->hWnd = NULL; ed->hwndParent = NULL; + ed->sizeWindow.cx = ed->sizeWindow.cy = 0; ed->texthost = texthost; ed->bEmulateVersion10 = bEmulateVersion10; ed->styleFlags = 0;