summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/model/selection_info_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/selection_info_init.c b/src/model/selection_info_init.c
index 7a98e74..aea2b07 100644
--- a/src/model/selection_info_init.c
+++ b/src/model/selection_info_init.c
@@ -1,8 +1,10 @@
#include "selection_info_init.h"
+#include <string.h>
void
selection_info_init (SELECTION_INFO * s)
-{
+{
+ memset (s->set, 0, sizeof (bool) * ROWS);
s->active = false;
s->purpose = SET;
s->x = 0;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.