1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-25 09:41:30 +02:00

Don't mix 2 implementation approaches

Introduced in the previous commit, pointed by Pierre. Thanks!
This commit is contained in:
Felix Paul Kühne 2008-05-07 21:50:24 +02:00
parent 6c385c5033
commit e6e564bd14

View File

@ -589,19 +589,16 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
var_Get( p_playlist, "random", &val );
val.b_bool = !val.b_bool;
var_Set( p_playlist, "random", val );
vlc_object_release( p_playlist );
ReturnTrue;
case 'l':
var_Get( p_playlist, "loop", &val );
val.b_bool = !val.b_bool;
var_Set( p_playlist, "loop", val );
vlc_object_release( p_playlist );
ReturnTrue;
case 'R':
var_Get( p_playlist, "repeat", &val );
val.b_bool = !val.b_bool;
var_Set( p_playlist, "repeat", val );
vlc_object_release( p_playlist );
ReturnTrue;
/* Playlist sort */