riched20: Initialise window size.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-16 10:34:01 +00:00 committed by Alexandre Julliard
parent 7078cfa76b
commit 8808fccd57
1 changed files with 1 additions and 0 deletions

View File

@ -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;