[pango/wip/khaled/fribidi] Make bidi brackets actually work
- From: Khaled Hosny <khaledh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/khaled/fribidi] Make bidi brackets actually work
- Date: Tue, 14 Nov 2017 14:16:34 +0000 (UTC)
commit 5ae58ad25f440a163b2a70886cfa4573565d3d42
Author: Khaled Hosny <khaledhosny eglug org>
Date: Tue Nov 14 16:14:29 2017 +0200
Make bidi brackets actually work
The condition seems to be wrong, though it was copied from similar
FriBiDi code!
pango/pango-bidi-type.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-bidi-type.c b/pango/pango-bidi-type.c
index 6f66709..7365cbe 100644
--- a/pango/pango-bidi-type.c
+++ b/pango/pango-bidi-type.c
@@ -172,7 +172,7 @@ pango_log2vis_get_embedding_levels (const gchar *text,
gunichar ch = g_utf8_get_char (p);
types[i] = fribidi_get_bidi_type (ch);
#ifdef USE_FRIBIDI_EX_API
- if (types[i] == FRIBIDI_TYPE_ON)
+ if (types[i] != FRIBIDI_TYPE_ON)
{
const FriBidiBracketType no_bracket = { 0, 0 };
brackets[i] = no_bracket;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]