Mike McCormack : riched20: Fix an uninitialized variable.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 10 05:44:00 CST 2006


Module: wine
Branch: master
Commit: 32f044c4cf63a68eabd159c32ca81927fe12a785
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=32f044c4cf63a68eabd159c32ca81927fe12a785

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Nov 10 15:40:58 2006 +0900

riched20: Fix an uninitialized variable.

---

 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 3cce1cf..edc3180 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1145,6 +1145,7 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd)
   ed->pfnWordBreak = NULL;
   ed->lpOleCallback = NULL;
   ed->mode = TM_RICHTEXT | TM_MULTILEVELUNDO | TM_MULTICODEPAGE;
+  ed->AutoURLDetect_bEnable = FALSE;
   GetClientRect(hWnd, &ed->rcFormat);
   for (i=0; i<HFONT_CACHE_SIZE; i++)
   {




More information about the wine-cvs mailing list