changeset 18550:1b8c3861dbd3

Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are no longer defined in the current development version of FriBidi. This reportedly allows compiling MPlayer with the development version which is needed for Arabic support (some used functions are marked as deprecated though). Should be safe with older FriBidi versions.
author uau
date Thu, 18 May 2006 18:31:14 +0000
parents 845f94a75729
children 19788635c281
files subreader.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Thu May 18 18:05:10 2006 +0000
+++ b/subreader.c	Thu May 18 18:31:14 2006 +0000
@@ -1194,8 +1194,8 @@
   int char_set_num;
   fribidi_boolean log2vis;
   if(flip_hebrew) { // Please fix the indentation someday
-  fribidi_set_mirroring (FRIBIDI_TRUE);
-  fribidi_set_reorder_nsm (FRIBIDI_FALSE);
+  fribidi_set_mirroring(1);
+  fribidi_set_reorder_nsm(0);
    
   if( sub_utf8 == 0 ) {
     char_set_num = fribidi_parse_charset (fribidi_charset?fribidi_charset:"ISO8859-8");