Commit af77062a authored by Rafaël Carré's avatar Rafaël Carré

"state" is an integer, not a boolean (since vlc_bool_t is an int, that only...

"state" is an integer, not a boolean (since vlc_bool_t is an int, that only makes the code clearer to read)
parent 6c8ee7e1
......@@ -153,7 +153,7 @@ input_state_changed( vlc_object_t * p_this, char const * psz_cmd,
libvlc_event_type_t type = newval.i_int;
if( strcmp( psz_cmd, "state" ) )
type = var_GetBool( p_this, "state" );
type = var_GetInteger( p_this, "state" );
switch ( type )
{
......
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