[1/17] richedit: Fixed rtf stream in bug that caused large start indents (RESEND)

Dylan Smith dylan.ah.smith at gmail.com
Fri Aug 15 16:05:22 CDT 2008

The problem was that the paragraph format was being retrieved,
slightly modified and then used to set the paragraph format, without
limiting the mask to what was being set.  The PFM_OFFSETINDENT mask flag
being valid meant that dxStartIndent specifies a relative offset, thus
dxStartIndent was doubled.

Simply limiting the mask to what was being changed fixes this issue.
 dlls/riched20/editor.c |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Fixed-rtf-stream-in-bug-that-caused-lar.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080815/439beeac/attachment.txt 

More information about the wine-patches mailing list