From 1964e603fd7d8faa787438dae8781b30402a5a65 Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Wed, 28 Jul 2010 21:17:29 -0400 Subject: [PATCH] richedit: Remove redundant commit and repaint in ME_StreamInText. ME_StreamInText is only used in one function, ME_StreamIn, which always calls ME_CommitUndo and ME_UpdateRepaint after calling this function. --- dlls/riched20/editor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 7e3dfdaa097..959585aa4ee 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -317,8 +317,6 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea break; stream->dwSize = 0; } while(1); - ME_CommitUndo(editor); - ME_UpdateRepaint(editor); return 0; } -- 2.11.4.GIT