Commit 5b4d0319 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

qt4 - Bug in next/prev chapter. Found out by Sergey Volk

parent 7899e383
...@@ -193,7 +193,7 @@ void InputManager::sectionNext() ...@@ -193,7 +193,7 @@ void InputManager::sectionNext()
{ {
if( hasInput() ) 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; vlc_value_t val; val.b_bool = VLC_TRUE;
var_Set( p_input, (i_type & VLC_VAR_TYPE) != 0 ? var_Set( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
"next-chapter":"next-title", val ); "next-chapter":"next-title", val );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment