richedit: Fixed rtf reader bug that caused large start indents

Dylan Smith dylan.ah.smith at
Wed Aug 6 16:10:49 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

More information about the wine-patches mailing list