summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-18 18:31:14 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-18 18:31:14 +0000
commit8867515f9bf9c94001ec78696af541686b2ca0e8 (patch)
treed1dcb499001d526d337a49d672447ed606d86c4f
parentfab6247393d1d2bcf724bc488f3d4f637e1980b9 (diff)
downloadmpv-8867515f9bf9c94001ec78696af541686b2ca0e8.tar.bz2
mpv-8867515f9bf9c94001ec78696af541686b2ca0e8.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18551 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--subreader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/subreader.c b/subreader.c
index f43c5f44be..e3c3555789 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1194,8 +1194,8 @@ subtitle* sub_fribidi (subtitle *sub, int sub_utf8)
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");