summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gestures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gestures.c b/src/gestures.c
index db3fc83..735e77c 100644
--- a/src/gestures.c
+++ b/src/gestures.c
@@ -194,6 +194,7 @@ void extract_gestures(struct Gestures *gs, struct MTouch* mt)
194 */ 194 */
195void extract_delayed_gestures(struct Gestures *gs, struct MTouch* mt) 195void extract_delayed_gestures(struct Gestures *gs, struct MTouch* mt)
196{ 196{
197 memset(gs, 0, sizeof(struct Gestures));
197 mt->mem.wait = 0; 198 mt->mem.wait = 0;
198 199
199 if (mt->mem.tpdown < mt->mem.tpup) { 200 if (mt->mem.tpdown < mt->mem.tpup) {