]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.cpp
Small fix for DVD menus.
[vlc] / 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