[40/44] richedit: Minor paragraph format mask fixes

Dylan Smith dylan.ah.smith at gmail.com
Tue Jun 17 20:21:05 CDT 2008


I created a function to set the default paragraph format to ensure
consistence when this is done.  This initial paragraph format is also
now more consistent with native richedit controls.  The dwMask value
always appears to have the same value when retrieved from the native
richedit controls, so all the mask values are now initialized when the
PARAFORMAT2 structure is created.

There is an undocumented dwMask flag for PARAFORMAT2 that is set in v4.1
for a paragraph that is a table row, so this was included.
---
 dlls/riched20/editor.c |   20 ++++++--------------
 dlls/riched20/editor.h |    1 +
 dlls/riched20/list.c   |    3 +--
 dlls/riched20/para.c   |   40 ++++++++++++++++++++++++----------------
 dlls/riched20/writer.c |    2 +-
 include/richedit.h     |    2 ++
 6 files changed, 35 insertions(+), 33 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0040-richedit-Minor-paragraph-format-mask-fixes.diff
Type: text/x-diff
Size: 9022 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/411be4bd/attachment.diff 


More information about the wine-patches mailing list