mirror of https://github.com/mpv-player/mpv
warning fix:
sub.c: In function 'vo_update_osd': sub.c:1104: warning: suggest explicit braces to avoid ambiguous 'else' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24602 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
991c218475
commit
6be56dbf2e
|
@ -1101,11 +1101,12 @@ int vo_update_osd(int dxs,int dys){
|
|||
} else {
|
||||
if (!vo_font)
|
||||
load_font_ft(dxs, dys, &vo_font, font_name);
|
||||
if (!sub_font)
|
||||
if (!sub_font) {
|
||||
if (sub_font_name)
|
||||
load_font_ft(dxs, dys, &sub_font, sub_font_name);
|
||||
else
|
||||
sub_font = vo_font;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue