summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-11-18 23:24:53 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-11-18 23:24:53 +0100
commiteac14478e949e29e442922d997f057573ddd9923 (patch)
tree62a0bd2f863b36745c67f7718cbf5f3fbfddc876 /sent.c
parent996a4c5c6e7b98c9f3ef50846f567b5d6a2da932 (diff)
fix dying on empty slidefile
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sent.c b/sent.c
index e68051f..f7cadb6 100644
--- a/sent.c
+++ b/sent.c
@@ -685,7 +685,7 @@ int main(int argc, char *argv[])
}
}
- if (!slides || !slides[0].lines)
+ if (!slidecount)
usage();
xinit();