aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-01-27 23:05:21 +0100
committerThomas White <taw@bitwiz.org.uk>2013-01-27 23:05:21 +0100
commitbb1735dcec49bb73ffb67af87cf5f7f8919af8b5 (patch)
tree767842d8e52f37064ff3ad8fceffa6cfea3c89c9 /src/presentation.c
parent0315095d2fb04f4cdf12c7484d8a0a89dff5329d (diff)
Slide change logic etc
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/presentation.c b/src/presentation.c
index 74f9c3c..d26321d 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -447,6 +447,8 @@ void set_selection(struct presentation *p, struct frame *fr)
{
p->selection[0] = fr;
p->n_selection = 1;
+
+ if ( fr == NULL ) p->n_selection = 0;
}