richedit: Set the default paragraph format consistently

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

I created a function to set the default paragraph format to ensure
consistency 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.

This allowed me to set the default paragraph formatting easily where a
FIXME comment pointed out that this needed to be done.
 dlls/riched20/editor.c |    5 ++++-
 dlls/riched20/editor.h |    1 +
 dlls/riched20/list.c   |    3 +--
 dlls/riched20/para.c   |   18 ++++++++++--------
 4 files changed, 16 insertions(+), 11 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Set-the-default-paragraph-format-consis.diff.txt

More information about the wine-patches mailing list