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
This commit is contained in:
uau 2006-05-18 18:31:14 +00:00
parent fab6247393
commit 8867515f9b
1 changed files with 2 additions and 2 deletions

View File

@ -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");