commit eac14478e949e29e442922d997f057573ddd9923 parent 996a4c5c6e7b98c9f3ef50846f567b5d6a2da932 Author: Markus Teich <markus.teich@stusta.mhn.de> Date: Wed, 18 Nov 2015 23:24:53 +0100 fix dying on empty slidefile Diffstat:
M | sent.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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();