Cosmetics
This commit is contained in:
@@ -136,8 +136,9 @@ 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user