Huw Davies : riched20: Remove an unnecessary call to ME_SaveTempStyle().
Module: wine Branch: master Commit: beffb6f671a5d420805a05511d812d2fef353bc8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=beffb6f671a5d420805a05511d... Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Oct 5 10:08:28 2016 +0100 riched20: Remove an unnecessary call to ME_SaveTempStyle(). Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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);
participants (1)
-
Alexandre Julliard