1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00

Use early return instead of block over whole function.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29936 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-11-20 10:24:31 +00:00
parent 6712791ad6
commit 752839d86b

View File

@ -1157,7 +1157,8 @@ subtitle* sub_fribidi (subtitle *sub, int sub_utf8)
int l=sub->lines;
int char_set_num;
fribidi_boolean log2vis;
if(flip_hebrew) { // Please fix the indentation someday
if (!flip_hebrew)
return sub;
fribidi_set_mirroring(1);
fribidi_set_reorder_nsm(0);
@ -1197,7 +1198,6 @@ subtitle* sub_fribidi (subtitle *sub, int sub_utf8)
free (sub->text[--l]);
return ERR;
}
}
return sub;
}