[PATCH] [RichEdit]: ensure wrapping is done all the time after inserting an RTF stream
Eric Pouech
eric.pouech at orange.fr
Thu Apr 24 15:04:36 CDT 2008
A+
---
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 f9d09d1..e8daab1 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1125,10 +1125,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-patches
mailing list