diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gestures.c | 1 |
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) */ void extract_delayed_gestures(struct Gestures *gs, struct MTouch* mt) { + memset(gs, 0, sizeof(struct Gestures)); mt->mem.wait = 0; if (mt->mem.tpdown < mt->mem.tpup) { |