]> git.sesse.net Git - vlc/commitdiff
Small fix for DVD menus.
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 6 Jun 2008 01:25:21 +0000 (18:25 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 6 Jun 2008 01:25:48 +0000 (18:25 -0700)
modules/gui/qt4/input_manager.cpp

index 7804b9cb6932b632012dee18fa195679c6182db3..047de6137f9ec594d0c3f9e38b1519c126c4a74f 100644 (file)
@@ -383,7 +383,10 @@ void InputManager::sectionNext()
 void InputManager::sectionMenu()
 {
     if( hasInput() )
-        var_SetInteger( p_input, "title 0", 2 );
+    {
+        vlc_value_t val; val.i_int = 2;
+        var_Set( p_input, "title  0", val );
+    }
 }
 
 #ifdef ZVBI_COMPILED