From 8d8895bfac0367e2dd4e30490d3522aed9c976d6 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 23 Sep 2016 15:15:49 +0100 Subject: [PATCH] riched20: Don't clear the existing mask when reading a \ltrpar . Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 9c54623c526..e74b7eed9f6 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; }