summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2009-07-09 18:51:38 (GMT)
committer Don Pellegrino <don@drexel.edu>2009-07-09 18:51:38 (GMT)
commitc324d26c18be3f683ce3081ef770293271bd5065 (patch) (unidiff)
treeacb411fe5a65cec8697a294082677ae629ed0d2c
parent9b7d64ada1d9c7ebd7d926efb446c613ebe24072 (diff)
downloadexp005-c324d26c18be3f683ce3081ef770293271bd5065.zip
exp005-c324d26c18be3f683ce3081ef770293271bd5065.tar.gz
exp005-c324d26c18be3f683ce3081ef770293271bd5065.tar.bz2
Initialized the set of selected items to none on startup.
-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 @@
1#include "selection_info_init.h"1#include "selection_info_init.h"
2#include <string.h>
23
3void4void
4selection_info_init (SELECTION_INFO * s)5selection_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;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.