richedit: Removed invalid assertion (Fixes bug 14732)
Dylan Smith
dylan.ah.smith at gmail.com
Thu Oct 2 23:49:39 CDT 2008
The assertion was not valid, because it neglected to take into account
the situation where a line break is forced with a MERF_ENDROW run
(caused by \line control word or pressing Shift-Enter). This means that
spaces can cause a line wrap after a forced line break as well as after
a paragraph break, so we cannot assert that it is the first row in the
paragraph.
---
dlls/riched20/wrap.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Removed-invalid-assertion-Fixes-bug-14.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081003/262ffe90/attachment.txt
More information about the wine-patches
mailing list