diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-10-10 10:01:52 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2023-10-30 19:03:18 -0400 |
commit | d78be6716b504b00a4bf9b1d637bdb878f303063 (patch) | |
tree | 3be1ce5669ae5b1bfd39589010f50599ac1d0b41 /apps/gui/wps.c | |
parent | d77c417fd1bfb79013bbd2c47920d89b95a5ac76 (diff) | |
download | rockbox-d78be6716b504b00a4bf9b1d637bdb878f303063.tar.gz rockbox-d78be6716b504b00a4bf9b1d637bdb878f303063.zip |
[BUGFIX] block SYS_EVENTS from some action switches
fixes some of the places where SYS EVENTS cause issues with action switches
that don't have handling for system events
more exist..
Change-Id: Ie6f4b05ed7ef1119d43e65ee49be8f754af83f52
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 2a595f74e6..260730c4a1 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -322,7 +322,7 @@ static bool ffwd_rew(int button, bool seek_from_end) | |||
322 | #endif | 322 | #endif |
323 | if (button != ACTION_WPS_SEEKFWD | 323 | if (button != ACTION_WPS_SEEKFWD |
324 | && button != ACTION_WPS_SEEKBACK | 324 | && button != ACTION_WPS_SEEKBACK |
325 | && button != 0) | 325 | && button != 0 && !IS_SYSEVENT(button)) |
326 | button = ACTION_WPS_STOPSEEK; | 326 | button = ACTION_WPS_STOPSEEK; |
327 | } | 327 | } |
328 | } | 328 | } |