From 02f4a178ffc80b1ff4beb6e3c4ad569b2ca18cd2 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 14 Oct 2020 11:17:15 +0100 Subject: [PATCH] riched20: Don't mark the diTextStart paragraph as requiring repainting. Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 );