riched20: Initialise the style flags.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-15 11:52:02 +00:00 committed by Alexandre Julliard
parent 39dd4d25a4
commit d4383b4498
1 changed files with 1 additions and 0 deletions

View File

@ -2648,6 +2648,7 @@ ME_TextEditor *ME_MakeEditor(ITextHost *texthost, BOOL bEmulateVersion10)
ed->hwndParent = NULL;
ed->texthost = texthost;
ed->bEmulateVersion10 = bEmulateVersion10;
ed->styleFlags = 0;
ITextHost_TxGetPropertyBits(texthost,
(TXTBIT_RICHTEXT|TXTBIT_MULTILINE|
TXTBIT_READONLY|TXTBIT_USEPASSWORD|