riched20: Fix an uninitialized variable.
This commit is contained in:
parent
3fe6a5d01e
commit
32f044c4cf
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue