Huw Davies : riched20: Set the bidi base embedding level.

Alexandre Julliard julliard at winehq.org
Mon Mar 25 14:19:39 CDT 2013


Module: wine
Branch: master
Commit: c409fc13fda7da2b60cd5ab04ad64bf21a0b5806
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c409fc13fda7da2b60cd5ab04ad64bf21a0b5806

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Mar 25 11:05:55 2013 +0000

riched20: Set the bidi base embedding level.

---

 dlls/riched20/editor.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index a19ceec..f490799 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -840,6 +840,14 @@ void ME_RTFParAttrHook(RTF_Info *info)
     }
     break;
   }
+  case rtfRTLPar:
+    fmt.dwMask = PFM_RTLPARA;
+    fmt.wEffects = PFE_RTLPARA;
+    break;
+  case rtfLTRPar:
+    fmt.dwMask = PFM_RTLPARA;
+    fmt.wEffects = 0;
+    break;
   }
   if (fmt.dwMask) {
     RTFFlushOutputBuffer(info);




More information about the wine-cvs mailing list