[3/3] richedit: Handle overflow of only spaces on first line of paragraph.

Dylan Smith dylan.ah.smith at gmail.com
Thu Jul 10 09:17:43 CDT 2008


The uncommon case that this patch handles is enough whitespace being
on the first line of a paragraph to cause it to wrap.  In this case the
first non-space character will be wrapped onto the next line.

Previously, a paragraph that starts with enough spaces would not wrap at
all no matter how long it is after the spaces. This can be tested by
opening wordpad, typing/pasting in a lot of spaces so that the spaces go
past the end of the control, and then start typing some text (which will
not wrap).
---
 dlls/riched20/wrap.c |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-richedit-Handle-overflow-of-only-spaces-on-first.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080710/a6952a62/attachment.txt 


More information about the wine-patches mailing list