Commit beffb6f6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Remove an unnecessary call to ME_SaveTempStyle().

parent e1f94386
...@@ -2576,7 +2576,6 @@ static LRESULT ME_Char(ME_TextEditor *editor, WPARAM charCode, ...@@ -2576,7 +2576,6 @@ static LRESULT ME_Char(ME_TextEditor *editor, WPARAM charCode,
if(editor->nTextLimit > ME_GetTextLength(editor) - (to-from)) if(editor->nTextLimit > ME_GetTextLength(editor) - (to-from))
{ {
ME_Style *style = ME_GetInsertStyle(editor, 0); ME_Style *style = ME_GetInsertStyle(editor, 0);
ME_SaveTempStyle(editor, style);
ME_ContinueCoalescingTransaction(editor); ME_ContinueCoalescingTransaction(editor);
ME_InsertTextFromCursor(editor, 0, &wstr, 1, style); ME_InsertTextFromCursor(editor, 0, &wstr, 1, style);
ME_ReleaseStyle(style); ME_ReleaseStyle(style);
......
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