Eric Pouech : richedit: Ensure wrapping is done all the time after inserting an RTF stream.
Alexandre Julliard
julliard at winehq.org
Fri Apr 25 08:11:04 CDT 2008
Module: wine
Branch: master
Commit: 046cfcfd22c8ff7abdbbf7694add3089f6b5d899
URL: http://source.winehq.org/git/wine.git/?a=commit;h=046cfcfd22c8ff7abdbbf7694add3089f6b5d899
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Thu Apr 24 22:04:36 2008 +0200
richedit: Ensure wrapping is done all the time after inserting an RTF stream.
---
dlls/riched20/editor.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index e635e9f..dcb21d1 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1140,10 +1140,7 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
ME_ReleaseStyle(style);
editor->nEventMask = nEventMask;
- if (editor->bRedraw)
- {
- ME_UpdateRepaint(editor);
- }
+ ME_UpdateRepaint(editor);
if (!(format & SFF_SELECTION)) {
ME_ClearTempStyle(editor);
}
More information about the wine-cvs
mailing list