diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index e38e50c4cc5..df1606ea6bd 100644 --- a/dlls/riched20/wrap.c +++ b/dlls/riched20/wrap.c @@ -521,9 +521,11 @@ ME_SendRequestResize(ME_TextEditor *editor, BOOL force) info.nmhdr.code = EN_REQUESTRESIZE; info.rc = rc; info.rc.bottom = editor->nTotalLength; - + + editor->nEventMask &= ~ENM_REQUESTRESIZE; SendMessageW(GetParent(editor->hWnd), WM_NOTIFY, info.nmhdr.idFrom, (LPARAM)&info); + editor->nEventMask |= ENM_REQUESTRESIZE; } } }