[pango/wip/khaled/fribidi] Update to match FriBiDi master



commit 1e024bb726ed6670550a7f8be7cef3feab34d2a4
Author: Khaled Hosny <khaledhosny eglug org>
Date:   Tue Nov 14 20:53:45 2017 +0200

    Update to match FriBiDi master

 pango/pango-bidi-type.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index 7365cbe..b2b621a 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -173,14 +173,9 @@ pango_log2vis_get_embedding_levels (const gchar    *text,
       types[i] = fribidi_get_bidi_type (ch);
 #ifdef USE_FRIBIDI_EX_API
       if (types[i] != FRIBIDI_TYPE_ON)
-      {
-        const FriBidiBracketType no_bracket = { 0, 0 };
-        brackets[i] = no_bracket;
-      }
+        brackets[i] = FRIBIDI_NO_BRACKET;
       else
-      {
         brackets[i] = fribidi_get_bracket (ch);
-      }
 #endif
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]