richedit: Fixed rtf reader bug that caused large start indents.
commit6a65f3b38ec1e1fd2122ac99d46aab90de82d17d
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 6 Aug 2008 21:10:49 +0000 (6 17:10 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Aug 2008 12:34:10 +0000 (18 14:34 +0200)
tree1863648b5cbe3b81829991f202391ecee84c5e02
parent687a00c0afbce7e17ccffded2a013fe0d01fc787
richedit: Fixed rtf reader bug that caused large start indents.

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.
dlls/riched20/editor.c