]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/xosd.c
var_InheritInteger -> var_InheritBool
[vlc] / modules / misc / notify / xosd.c
index 587bc23aac24df930a6ea56f869f9a3bd0913b11..2cea9331817b45745388df5723b5d70869dda7a4 100644 (file)
@@ -141,7 +141,7 @@ static int Open( vlc_object_t *p_this )
     xosd_set_font( p_osd, psz_font );
     xosd_set_colour( p_osd, psz_colour );
     xosd_set_timeout( p_osd, 3 );
-    xosd_set_pos( p_osd, var_InheritInteger( p_intf, "xosd-position" ) ?
+    xosd_set_pos( p_osd, var_InheritBool( p_intf, "xosd-position" ) ?
                                         XOSD_bottom: XOSD_top );
     xosd_set_horizontal_offset( p_osd,
                     var_InheritInteger( p_intf, "xosd-text-offset" ) );