]> git.sesse.net Git - vlc/commitdiff
qt4 - Bug in next/prev chapter. Found out by Sergey Volk
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 18 Apr 2007 20:07:42 +0000 (20:07 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 18 Apr 2007 20:07:42 +0000 (20:07 +0000)
modules/gui/qt4/input_manager.cpp

index 663a5336000b75abcc97dbc66280cb22e622c491..af37f44343a2179d53710a0036473c5588ea07c1 100644 (file)
@@ -193,7 +193,7 @@ void InputManager::sectionNext()
 {
     if( hasInput() )
     {
-        int i_type = var_Type( p_input, "prev-chapter" );
+        int i_type = var_Type( p_input, "next-chapter" );
         vlc_value_t val; val.b_bool = VLC_TRUE;
         var_Set( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
                             "next-chapter":"next-title", val );