diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-07-16 10:05:09 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-07-16 10:05:09 +0200 |
commit | 33a08e17fada81e6998576c21c166fb20365c214 (patch) | |
tree | e12da317bd75aceedd4732d3a86b964f2e5ddb09 /src/presentation.c | |
parent | e39907fc0e1e908c9daef17c4f7fb83040953bb7 (diff) |
Menu layout and initial stylesheet window stuff
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/presentation.c b/src/presentation.c index f9fe1f3..b30895b 100644 --- a/src/presentation.c +++ b/src/presentation.c @@ -149,7 +149,7 @@ struct presentation *new_presentation() { struct presentation *new; - new = malloc(sizeof(struct presentation)); + new = calloc(1, sizeof(struct presentation)); new->titlebar = strdup("(untitled)"); new->filename = NULL; |