Huw Davies : riched20: Don' t clear the existing mask when reading a \ltrpar .
Alexandre Julliard
julliard at winehq.org
Fri Sep 23 10:25:16 CDT 2016
Module: wine
Branch: master
Commit: 8d8895bfac0367e2dd4e30490d3522aed9c976d6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d8895bfac0367e2dd4e30490d3522aed9c976d6
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Sep 23 15:15:49 2016 +0100
riched20: Don't clear the existing mask when reading a \ltrpar .
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
}
More information about the wine-cvs
mailing list