summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-23 23:52:55 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-23 23:52:55 -0300
commit840efa7b27c37a354d49460a5c8097b5a9eeba7c (patch)
treec10b8ea3abda69be8dd12ce903441479c779e7e8 /gui
parent715d3642b9cec177dc8c18a468417e6ea1b700e2 (diff)
downloadeeshow-840efa7b27c37a354d49460a5c8097b5a9eeba7c.tar.gz
eeshow-840efa7b27c37a354d49460a5c8097b5a9eeba7c.tar.bz2
eeshow-840efa7b27c37a354d49460a5c8097b5a9eeba7c.zip
gui/gui.c (get_sheets): also initialize fields "over" and "aois"
How did this not lead to crashes until now ?
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 5fe3cc9..a100231 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -171,6 +171,9 @@ static struct gui_sheet *get_sheets(struct gui_ctx *ctx, struct gui_hist *hist,
new->hist = hist;
new->rendered = 0;
+ new->over = NULL;
+ new->aois = NULL;
+
*next = new;
next = &new->next;
}