Commit 78b7e389 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix input_mnager behaviour to what it was intended. Patch idea by Dylan.

parent 7ee84d75
......@@ -581,7 +581,7 @@ static int InterfaceChanged( vlc_object_t *p_this, const char *psz_var,
static int counter = 0;
InputManager *im = (InputManager*)param;
counter = counter++ % 4;
counter = ++counter % 4;
if(!counter)
return VLC_SUCCESS;
IMEvent *event = new IMEvent( PositionUpdate_Type, 0 );
......
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