From 345ae050f1310c031d6cbd1dfd53bb07dbe96e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20Riedel=20G=C3=A5rding?= Date: Fri, 22 May 2020 03:04:52 +0200 Subject: [PATCH] Fix counts not resetting in fisher --- sources/fisher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/fisher.c b/sources/fisher.c index 80d700e..8b87b8e 100644 --- a/sources/fisher.c +++ b/sources/fisher.c @@ -329,6 +329,7 @@ int main(void){ hook=0; hooknum=HOOKS; score=0; + memset(count,0,10*sizeof(unsigned int) ); while(1){ draw(); refresh();