Commit 78584b6e authored by Clinton Stimpson's avatar Clinton Stimpson Committed by Alexandre Julliard

riched20: Only send EN_CHANGE when it is supposed to be sent.

parent 76690354
......@@ -117,7 +117,11 @@ void ME_UpdateRepaint(ME_TextEditor *editor)
pCursor = &editor->pCursors[0];
ME_EnsureVisible(editor, pCursor->pRun);
ME_SendOldNotify(editor, EN_CHANGE);
/* send EN_CHANGE if the event mask asks for it */
if(editor->nEventMask & ENM_CHANGE)
{
ME_SendOldNotify(editor, EN_CHANGE);
}
ME_Repaint(editor);
ME_SendSelChange(editor);
}
......
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