hotkeys.c: Don't continue looking once the action for your key is

found. Should save a few precious cycles
parent e2f005e5
...@@ -174,6 +174,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -174,6 +174,7 @@ static void Run( intf_thread_t *p_intf )
i_times = p_hotkeys[i].i_times; i_times = p_hotkeys[i].i_times;
/* times key pressed within max. delta time */ /* times key pressed within max. delta time */
p_hotkeys[i].i_times = 0; p_hotkeys[i].i_times = 0;
break;
} }
} }
......
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