From d4383b4498af9617c632abe6cb39af0e31e4f139 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 15 Dec 2009 11:52:02 +0000 Subject: [PATCH] riched20: Initialise the style flags. 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 6790a6a83ac..3dc11337d88 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -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|