richedit: Trailing spaces should not affect alignment shift length

Dylan Smith dylan.ah.smith at gmail.com
Mon Jun 23 16:09:53 CDT 2008


To notice the bug, open wordpad using Wine.
1. Enter text
2. Center some text
3. Add spaces at the end of the text (i.e. end of the paragraph).

These trailing spaces do not affect the position of the line they are on
in native richedit, but they did in Wine.  This patch fixes this bug to
adopt the native behaviour in this situation.
---
 dlls/riched20/wrap.c |   48 +++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 37 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0042-richedit-Trailing-spaces-should-not-affect-alignment.diff
Type: text/x-diff
Size: 2922 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080623/d6b002aa/attachment.diff 


More information about the wine-patches mailing list