Commit c40c08b3 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

richedit: Only send update events in 1.0 emulation mode if the event mask specifies it.

Fixes a crash in native cryptui.dll when viewing certificate properties.
parent 641d6aa5
......@@ -98,7 +98,8 @@ void ME_Repaint(ME_TextEditor *editor)
ME_UpdateScrollBar(editor);
FIXME("ME_Repaint had to call ME_WrapMarkedParagraphs\n");
}
ME_SendOldNotify(editor, EN_UPDATE);
if (!editor->bEmulateVersion10 || (editor->nEventMask & ENM_UPDATE))
ME_SendOldNotify(editor, EN_UPDATE);
UpdateWindow(editor->hWnd);
}
......
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