-rw-r--r-- | src/model/selection_info_init.c | 4 |
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 @@ | |||
1 | #include "selection_info_init.h" | 1 | #include "selection_info_init.h" |
2 | #include <string.h> | ||
2 | 3 | ||
3 | void | 4 | void |
4 | selection_info_init (SELECTION_INFO * s) | 5 | selection_info_init (SELECTION_INFO * s) |
5 | { | 6 | { |
7 | memset (s->set, 0, sizeof (bool) * ROWS); | ||
6 | s->active = false; | 8 | s->active = false; |
7 | s->purpose = SET; | 9 | s->purpose = SET; |
8 | s->x = 0; | 10 | s->x = 0; |