From 3d281edaf2250f847bc8d287074ad506c92db2db Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 Apr 2015 15:00:59 -0700 Subject: cell_explorer: Ensure initialisation of active_indms[] --- src/cell_explorer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cell_explorer.c') diff --git a/src/cell_explorer.c b/src/cell_explorer.c index 38203f70..923462bd 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -695,7 +695,8 @@ static void scan_minmax(CellWindow *w) fprintf(stderr, "Too many indexing methods\n"); } else { IndexingMethod m = w->indms[i]; - w->unique_indms[w->n_unique_indms++] = m; + w->unique_indms[w->n_unique_indms] = m; + w->active_indms[w->n_unique_indms++] = 1; } } -- cgit v1.2.3