Module: wine Branch: master Commit: 8808fccd576ec956013fd671eb93410a7e4c62e8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8808fccd576ec956013fd671eb...
Author: Huw Davies huw@codeweavers.com Date: Wed Dec 16 10:34:01 2009 +0000
riched20: Initialise window size.
Found by Valgrind.
---
dlls/riched20/editor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 3dc1133..2ae4f94 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;