Cosmetics

This commit is contained in:
Bertrand Songis
2015-08-03 23:18:33 +02:00
parent 5417c426e3
commit d7cf14857e
+2 -1
View File
@@ -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))) {
bool dblkey = true;
if (DBLKEYS_PRESSED_RGT_LFT(in)) {
if (!isValueAvailable || isValueAvailable(-val))
if (!isValueAvailable || isValueAvailable(-val)) {
newval = -val;
}
}
else if (DBLKEYS_PRESSED_RGT_UP(in)) {
newval = (i_max > stops.max() ? stops.max() : i_max);