Cosmetics
This commit is contained in:
@@ -136,9 +136,10 @@ int checkIncDec(unsigned int event, int val, int i_min, int i_max, unsigned int
|
|||||||
if (!(i_flags & NO_DBLKEYS) && (EVT_KEY_MASK(event))) {
|
if (!(i_flags & NO_DBLKEYS) && (EVT_KEY_MASK(event))) {
|
||||||
bool dblkey = true;
|
bool dblkey = true;
|
||||||
if (DBLKEYS_PRESSED_RGT_LFT(in)) {
|
if (DBLKEYS_PRESSED_RGT_LFT(in)) {
|
||||||
if (!isValueAvailable || isValueAvailable(-val))
|
if (!isValueAvailable || isValueAvailable(-val)) {
|
||||||
newval = -val;
|
newval = -val;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (DBLKEYS_PRESSED_RGT_UP(in)) {
|
else if (DBLKEYS_PRESSED_RGT_UP(in)) {
|
||||||
newval = (i_max > stops.max() ? stops.max() : i_max);
|
newval = (i_max > stops.max() ? stops.max() : i_max);
|
||||||
while (isValueAvailable && !isValueAvailable(newval) && newval>i_min) {
|
while (isValueAvailable && !isValueAvailable(newval) && newval>i_min) {
|
||||||
|
|||||||
Reference in New Issue
Block a user