riched20: Fix an uninitialized variable.

This commit is contained in:
Mike McCormack 2006-11-10 15:40:58 +09:00 committed by Alexandre Julliard
parent 3fe6a5d01e
commit 32f044c4cf
1 changed files with 1 additions and 0 deletions

View File

@ -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++)
{