aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-07-16 10:05:09 +0200
committerThomas White <taw@bitwiz.org.uk>2011-07-16 10:05:09 +0200
commit33a08e17fada81e6998576c21c166fb20365c214 (patch)
treee12da317bd75aceedd4732d3a86b964f2e5ddb09 /src/presentation.c
parente39907fc0e1e908c9daef17c4f7fb83040953bb7 (diff)
Menu layout and initial stylesheet window stuff
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c2
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;