[PATCH 5/5] riched20: Remove an unnecessary call to ME_SaveTempStyle().
Huw Davies
huw at codeweavers.com
Wed Oct 5 04:08:28 CDT 2016
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/riched20/editor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index d7abaa2..e2a44d3 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -2576,7 +2576,6 @@ static LRESULT ME_Char(ME_TextEditor *editor, WPARAM charCode,
if(editor->nTextLimit > ME_GetTextLength(editor) - (to-from))
{
ME_Style *style = ME_GetInsertStyle(editor, 0);
- ME_SaveTempStyle(editor, style);
ME_ContinueCoalescingTransaction(editor);
ME_InsertTextFromCursor(editor, 0, &wstr, 1, style);
ME_ReleaseStyle(style);
--
2.8.2
More information about the wine-patches
mailing list