Module: wine Branch: master Commit: d4383b4498af9617c632abe6cb39af0e31e4f139 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4383b4498af9617c632abe6cb...
Author: Huw Davies huw@codeweavers.com Date: Tue Dec 15 11:52:02 2009 +0000
riched20: Initialise the style flags.
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 6790a6a..3dc1133 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|