richedit: PFE_TABLE flag is now used instead of private bTable value.

Dylan Smith dylan.ah.smith at
Tue Jul 8 12:38:54 CDT 2008

The PARAFORMAT structure has a bit in wEffects to indicate whether the
paragraph is a table or not, so this should be used instead of a private
bTable value, since this structure can be retrieved with EM_GETPARAFORMAT.

I found that writer.c referenced this flag in order to output a \intbl
rtf control word, but unfortunately this line contained a typo, so there
was another check for bTable to output the same control word which
someone else must have added.  I corrected this duplication.
 dlls/riched20/caret.c   |    4 +++-
 dlls/riched20/editor.c  |   10 +++++-----
 dlls/riched20/editstr.h |    3 +--
 dlls/riched20/para.c    |    6 +++---
 dlls/riched20/writer.c  |    8 ++++----
 5 files changed, 16 insertions(+), 15 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-PFE_TABLE-flag-is-now-used-instead-of-p.diff.txt

More information about the wine-patches mailing list