diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-20 17:12:32 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-20 17:12:32 +0300 |
commit | eaaecf50a5ec64e9c344d195a3a74c7a46c8797c (patch) | |
tree | 7b9589c62980d8c1ace3f297516fd6efd674067b | |
parent | ba9c5af788fddf64d84dc14ac9e7c72559df7f13 (diff) |
Cleanup
-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) { |