http://bugs.winehq.org/show_bug.cgi?id=17290
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |dylan.ah.smith@gmail.com Status|NEW |ASSIGNED
--- Comment #2 from Dylan Smith dylan.ah.smith@gmail.com 2009-02-07 01:32:12 --- Created an attachment (id=19304) --> (http://bugs.winehq.org/attachment.cgi?id=19304) Wrap even without repaint
The assertion that failed made sure the paragraph was wrapped. This should have been done earlier on WM_SETFONT, however, the lParam value of 0 indicated that it should avoid painting, and this same conditional check incorrectly avoided wrapping the text as well.
I fixed it by separating the rewrap from repaint when handling this and another message, so it will always rewrap and not cause assertion failures.