richedit: Check for bits instead of equality in EM_SETCHARFORMAT.
commitad056fe7d785bc41fdab57a642818fed73f6d709
authorDylan Smith <dylan.ah.smith@gmail.com>
Thu, 29 Jul 2010 18:05:58 +0000 (29 14:05 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 30 Jul 2010 09:36:01 +0000 (30 11:36 +0200)
treef53ef31eb93d9871dd3e9d40b9ad8cd27f2b109f
parent16d789042657d37734173aa2bff81ff5f8a014b7
richedit: Check for bits instead of equality in EM_SETCHARFORMAT.

There are unsupported flags documented on MSDN which would cause problems
for the equality checks used in EM_SETCHARFORMAT.  Also, to handle a
combined set of flags they must be checked for in the right order.
dlls/riched20/editor.c