[3/6] richedit: Remove redundant commit and repaint in ME_StreamInText.
Dylan Smith
dylan.ah.smith at gmail.com
Mon Jul 26 07:27:19 CDT 2010
---
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;
}
--
1.7.0.4
More information about the wine-patches
mailing list