[vlc-commits] Freetype: fix RTL

Salah-Eddin Shaban git at videolan.org
Mon Jul 2 13:16:58 CEST 2018


vlc/vlc-3.0 | branch: master | Salah-Eddin Shaban <salah at videolan.org> | Wed Apr 11 09:42:46 2018 +0300| [a7508244c96bceb1f9653cc50061a214065646d2] | committer: Jean-Baptiste Kempf

Freetype: fix RTL

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit b50d5cac3ca6bca2695cf7d6acc84b2933ad90c8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a7508244c96bceb1f9653cc50061a214065646d2
---

 modules/text_renderer/freetype/text_layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/freetype/text_layout.c b/modules/text_renderer/freetype/text_layout.c
index 983a7030a1..d030b4b47c 100644
--- a/modules/text_renderer/freetype/text_layout.c
+++ b/modules/text_renderer/freetype/text_layout.c
@@ -1107,7 +1107,7 @@ static int LayoutLine( filter_t *p_filter,
     int i_ul_thickness = 0;
 
 #ifdef HAVE_FRIBIDI
-    bool b_reordered = ( 0 ==
+    bool b_reordered = ( 0 !=
         fribidi_reorder_line( 0, &p_paragraph->p_types[i_first_char],
                           1 + i_last_char - i_first_char,
                           0, p_paragraph->paragraph_type,



More information about the vlc-commits mailing list