diff options
-rw-r--r-- | src/ui/touch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/touch.c b/src/ui/touch.c index f534c4e8..4498efae 100644 --- a/src/ui/touch.c +++ b/src/ui/touch.c | |||
@@ -141,7 +141,7 @@ static iBool isStationary_Touch_(const iTouch *d) { | |||
141 | } | 141 | } |
142 | 142 | ||
143 | static iBool clearWidgetMomentum_TouchState_(iTouchState *d, iWidget *widget) { | 143 | static iBool clearWidgetMomentum_TouchState_(iTouchState *d, iWidget *widget) { |
144 | if (!widget) return; | 144 | if (!widget) return iFalse; |
145 | iForEach(Array, m, d->moms) { | 145 | iForEach(Array, m, d->moms) { |
146 | iMomentum *mom = m.value; | 146 | iMomentum *mom = m.value; |
147 | if (mom->affinity == widget) { | 147 | if (mom->affinity == widget) { |