[PATCH 05/24] [RichEdit]: correctly copy the pitch and family field
Eric Pouech
eric.pouech at orange.fr
Tue Jan 1 15:03:46 CST 2008
A+
---
dlls/riched20/style.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/style.c b/dlls/riched20/style.c
index 01715ac..1113f73 100644
--- a/dlls/riched20/style.c
+++ b/dlls/riched20/style.c
@@ -174,7 +174,9 @@ ME_Style *ME_ApplyStyle(ME_Style *sSrc, CHARFORMAT2W *style)
COPY_STYLE_ITEM(CFM_STYLE, sStyle);
COPY_STYLE_ITEM(CFM_UNDERLINETYPE, bUnderlineType);
COPY_STYLE_ITEM(CFM_WEIGHT, wWeight);
-
+ /* FIXME: this is not documented this way, but that's the more logical */
+ COPY_STYLE_ITEM(CFM_FACE, bPitchAndFamily);
+
s->fmt.dwEffects &= ~(style->dwMask);
s->fmt.dwEffects |= style->dwEffects & style->dwMask;
s->fmt.dwMask |= style->dwMask;
More information about the wine-patches
mailing list