aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-11 14:57:11 +0100
committerThomas White <taw@bitwiz.org.uk>2011-12-11 14:57:11 +0100
commitb7576621ab8df6d6303f9b05b87d5e229f7ffdd5 (patch)
tree40e651488f1eb664d1e3c327f8665fb7687474a5 /src/presentation.c
parentc5be0c1cdc4a3c2241a6e53dab0d1a427872739c (diff)
Remote control magic
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/presentation.c b/src/presentation.c
index 7cce628..cdb4a14 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -280,6 +280,10 @@ struct presentation *new_presentation()
new->titlebar = NULL;
get_titlebar_string(new);
+ /* FIXME: Should be just one of these */
+ new->prefs = calloc(1, sizeof(struct prefs));
+ new->prefs->b_splits = 1;
+
new->window = NULL;
new->ui = NULL;
new->action_group = NULL;