From: Holger Schemel Date: Fri, 11 May 2018 16:43:45 +0000 (+0200) Subject: fixed default values for move/drop distances for wipe gestures X-Git-Tag: 4.1.1.0~160 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=131ac4bdd9abf7dfd6e47616f175a96e5b98f55a;p=rocksndiamonds.git fixed default values for move/drop distances for wipe gestures --- diff --git a/src/screens.c b/src/screens.c index 2dc2ad81..458f9422 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5382,7 +5382,8 @@ static void execSetupTouch() /* if that fails, set current distance to reliable default value */ if (move_distance_current == NULL) move_distance_current = - getTreeInfoFromIdentifier(move_distances, i_to_a(1)); + getTreeInfoFromIdentifier(move_distances, + i_to_a(TOUCH_MOVE_DISTANCE_DEFAULT)); /* if that also fails, set current distance to first available value */ if (move_distance_current == NULL) @@ -5425,7 +5426,8 @@ static void execSetupTouch() /* if that fails, set current distance to reliable default value */ if (drop_distance_current == NULL) drop_distance_current = - getTreeInfoFromIdentifier(drop_distances, i_to_a(1)); + getTreeInfoFromIdentifier(drop_distances, + i_to_a(TOUCH_DROP_DISTANCE_DEFAULT)); /* if that also fails, set current distance to first available value */ if (drop_distance_current == NULL)