From 2d196920385ec9a52350e4be47fbd286d6d52c5e Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 9 Jan 2015 21:45:20 +0100 Subject: [PATCH] #1942 - Test inverted as requested by the majority ;) --- radio/src/gui/menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/menus.cpp b/radio/src/gui/menus.cpp index 088765c47..4886327ef 100644 --- a/radio/src/gui/menus.cpp +++ b/radio/src/gui/menus.cpp @@ -279,7 +279,7 @@ int checkIncDec(unsigned int event, int val, int i_min, int i_max, unsigned int if (newval != val) { if (!(i_flags & NO_INCDEC_MARKS) && (newval != i_max) && (newval != i_min) && stops.contains(newval) && !IS_ROTARY_EVENT(event)) { - bool pause = (newval > val ? !stops.contains(newval-1) : !stops.contains(newval+1)); + bool pause = (newval > val ? !stops.contains(newval+1) : !stops.contains(newval-1)); if (pause) { pauseEvents(event); // delay before auto-repeat continues if (newval>val) // without AUDIO it's optimized, because the 2 sounds are the same