From 8867515f9bf9c94001ec78696af541686b2ca0e8 Mon Sep 17 00:00:00 2001 From: uau Date: Thu, 18 May 2006 18:31:14 +0000 Subject: 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 --- subreader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subreader.c') 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"); -- cgit v1.2.3