diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 23:05:21 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 23:05:21 +0100 |
commit | bb1735dcec49bb73ffb67af87cf5f7f8919af8b5 (patch) | |
tree | 767842d8e52f37064ff3ad8fceffa6cfea3c89c9 /src/presentation.c | |
parent | 0315095d2fb04f4cdf12c7484d8a0a89dff5329d (diff) |
Slide change logic etc
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 2 |
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; } |