riched20: Don't clear the existing mask when reading a \ltrpar .
Huw Davies
huw at codeweavers.com
Fri Sep 23 09:15:49 CDT 2016
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/riched20/editor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 9c54623..e74b7ee 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -864,7 +864,7 @@ void ME_RTFParAttrHook(RTF_Info *info)
info->fmt.wEffects |= PFE_RTLPARA;
break;
case rtfLTRPar:
- info->fmt.dwMask = PFM_RTLPARA;
+ info->fmt.dwMask |= PFM_RTLPARA;
info->fmt.wEffects &= ~PFE_RTLPARA;
break;
}
--
2.8.2
More information about the wine-patches
mailing list