[PATCH 2/5] riched20: Don't mark the diTextStart paragraph as requiring repainting.
14 Oct
2020
14 Oct
'20
11:17 a.m.
Signed-off-by: Huw Davies <huw(a)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
1977
Age (days ago)
1977
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies