From 6be56dbf2e72e12f99c2524468f0a8205efb2574 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 24 Sep 2007 15:39:12 +0000 Subject: [PATCH] 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 --- libvo/sub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvo/sub.c b/libvo/sub.c index 7add916b95..ee8c4d16d6 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -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