Jactry Zeng : riched20: Repaint paragraph after undo format setting of the paragraph.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 4 07:03:43 CDT 2015


Module: wine
Branch: master
Commit: 515b4a972561827cd954ee7ca34aaeb5a3621a74
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=515b4a972561827cd954ee7ca34aaeb5a3621a74

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Fri Sep  4 15:54:18 2015 +0800

riched20: Repaint paragraph after undo format setting of the paragraph.

---

 dlls/riched20/undo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/riched20/undo.c b/dlls/riched20/undo.c
index 9db690e..7b22e6d 100644
--- a/dlls/riched20/undo.c
+++ b/dlls/riched20/undo.c
@@ -341,6 +341,7 @@ static void ME_PlayUndoItem(ME_TextEditor *editor, struct undo_item *undo)
     add_undo_set_para_fmt( editor, &para->member.para );
     *para->member.para.pFmt = undo->u.set_para_fmt.fmt;
     para->member.para.border = undo->u.set_para_fmt.border;
+    para->member.para.nFlags |= MEPF_REWRAP;
     break;
   }
   case undo_set_char_fmt:




More information about the wine-cvs mailing list