summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-20 17:12:32 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-20 17:12:32 +0300
commiteaaecf50a5ec64e9c344d195a3a74c7a46c8797c (patch)
tree7b9589c62980d8c1ace3f297516fd6efd674067b
parentba9c5af788fddf64d84dc14ac9e7c72559df7f13 (diff)
Cleanup
-rw-r--r--src/ui/touch.c2
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
143static iBool clearWidgetMomentum_TouchState_(iTouchState *d, iWidget *widget) { 143static 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) {