changeset 24582:6d5999a6b4e2

warning fix: sub.c: In function 'vo_update_osd': sub.c:1104: warning: suggest explicit braces to avoid ambiguous 'else'
author diego
date Mon, 24 Sep 2007 15:39:12 +0000
parents a7fe1ee84511
children af12ba770230
files libvo/sub.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/sub.c	Mon Sep 24 15:11:49 2007 +0000
+++ b/libvo/sub.c	Mon Sep 24 15:39:12 2007 +0000
@@ -1101,11 +1101,12 @@
     } 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