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:
diego 2007-09-24 15:39:12 +00:00
parent 991c218475
commit 6be56dbf2e
1 changed files with 2 additions and 1 deletions

View File

@ -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