[Bug 5882] riched20: NSIS-Installer Regression (crash after assert(!(ME_GetParagraph(pCursorRun)->member.para.nFlags & MEPF_REWRAP))
http://bugs.winehq.org/show_bug.cgi?id=5882 ------- Additional Comments From MattFinn(a)gmail.com 2006-07-08 10:26 ------- The problem stems from ME_MoveCaret being run with paragraphs marked for rewrapping, but not wrapped yet. A possible fix would be to just wrap things at that point: diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c index 5124822..ebfcff5 100644 --- a/dlls/riched20/caret.c +++ b/dlls/riched20/caret.c @@ -175,6 +175,7 @@ ME_MoveCaret(ME_TextEditor *editor) { int x, y, height; + ME_WrapMarkedParagraphs(editor); ME_GetCursorCoordinates(editor, &editor->pCursors[0], &x, &y, &height); CreateCaret(editor->hWnd, NULL, 0, height); SetCaretPos(x, y); -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs