Commit 32f044c4 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

riched20: Fix an uninitialized variable.

parent 3fe6a5d0
...@@ -1145,6 +1145,7 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd) { ...@@ -1145,6 +1145,7 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd) {
ed->pfnWordBreak = NULL; ed->pfnWordBreak = NULL;
ed->lpOleCallback = NULL; ed->lpOleCallback = NULL;
ed->mode = TM_RICHTEXT | TM_MULTILEVELUNDO | TM_MULTICODEPAGE; ed->mode = TM_RICHTEXT | TM_MULTILEVELUNDO | TM_MULTICODEPAGE;
ed->AutoURLDetect_bEnable = FALSE;
GetClientRect(hWnd, &ed->rcFormat); GetClientRect(hWnd, &ed->rcFormat);
for (i=0; i<HFONT_CACHE_SIZE; i++) for (i=0; i<HFONT_CACHE_SIZE; i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment