[PATCH 2/5] riched20: Don't mark the diTextStart paragraph as requiring repainting.
Huw Davies
huw at codeweavers.com
Wed Oct 14 05:17:15 CDT 2020
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/riched20/wrap.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c
index 393b1784d4e..26f1c30b83f 100644
--- a/dlls/riched20/wrap.c
+++ b/dlls/riched20/wrap.c
@@ -1049,8 +1049,6 @@ BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor)
else
totalWidth = max(totalWidth, para->nWidth);
- if (!para->nCharOfs)
- update_repaint( para_prev( para ), &repaint );
update_repaint( para, &repaint );
adjust_para_y( para, &c, &repaint );
--
2.23.0
More information about the wine-devel
mailing list