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.
This commit is contained in:
parent
641d6aa5c2
commit
c40c08b3d3
|
@ -98,6 +98,7 @@ void ME_Repaint(ME_TextEditor *editor)
|
||||||
ME_UpdateScrollBar(editor);
|
ME_UpdateScrollBar(editor);
|
||||||
FIXME("ME_Repaint had to call ME_WrapMarkedParagraphs\n");
|
FIXME("ME_Repaint had to call ME_WrapMarkedParagraphs\n");
|
||||||
}
|
}
|
||||||
|
if (!editor->bEmulateVersion10 || (editor->nEventMask & ENM_UPDATE))
|
||||||
ME_SendOldNotify(editor, EN_UPDATE);
|
ME_SendOldNotify(editor, EN_UPDATE);
|
||||||
UpdateWindow(editor->hWnd);
|
UpdateWindow(editor->hWnd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue