]> granicus.if.org Git - fribidi/commitdiff
Fix build without glib
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 28 Dec 2016 00:48:05 +0000 (19:48 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 28 Dec 2016 00:48:05 +0000 (19:48 -0500)
lib/fribidi-bidi.c

index 1b0ab39e6eedece81c8a890d537cd7f560309ea5..2ddfe42056e9d04142a969b3a62dff960020111f 100644 (file)
@@ -689,8 +689,8 @@ fribidi_get_par_embedding_levels (
       FriBidiRun *ppp_prev, *ppp_next;
       int iso_level;
 
-      ppp_prev = get_adjacent_run(pp, FALSE, FALSE);
-      ppp_next = get_adjacent_run(pp, TRUE, FALSE);
+      ppp_prev = get_adjacent_run(pp, false, false);
+      ppp_next = get_adjacent_run(pp, true, false);
 
       this_type = RL_TYPE (pp);
       iso_level = RL_ISOLATE_LEVEL(pp);
@@ -772,8 +772,8 @@ fribidi_get_par_embedding_levels (
       this_type = RL_TYPE (pp);
       iso_level = RL_ISOLATE_LEVEL(pp);
 
-      ppp_prev = get_adjacent_run(pp, FALSE, FALSE);
-      ppp_next = get_adjacent_run(pp, TRUE, FALSE);
+      ppp_prev = get_adjacent_run(pp, false, false);
+      ppp_next = get_adjacent_run(pp, true, false);
 
       if (RL_LEVEL(ppp_prev) == RL_LEVEL(pp))
         prev_type = RL_TYPE(ppp_prev);
@@ -865,8 +865,8 @@ fribidi_get_par_embedding_levels (
       FriBidiCharType prev_type, this_type, next_type;
       FriBidiRun *ppp_prev, *ppp_next;
 
-      ppp_prev = get_adjacent_run(pp, FALSE, FALSE);
-      ppp_next = get_adjacent_run(pp, TRUE, FALSE);
+      ppp_prev = get_adjacent_run(pp, false, false);
+      ppp_next = get_adjacent_run(pp, true, false);
 
       /* "European and Arabic numbers are treated as though they were R"
          FRIBIDI_CHANGE_NUMBER_TO_RTL does this. */