Dylan Smith : richedit: Remove redundant commit and repaint in ME_StreamInText.

Alexandre Julliard julliard at winehq.org
Thu Jul 29 12:08:39 CDT 2010


Module: wine
Branch: master
Commit: 1964e603fd7d8faa787438dae8781b30402a5a65
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1964e603fd7d8faa787438dae8781b30402a5a65

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Wed Jul 28 21:17:29 2010 -0400

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 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 7e3dfda..959585a 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;
 }
 




More information about the wine-cvs mailing list