[hackers] [sent] fix dying on empty slidefile || Markus Teich
commit eac14478e949e29e442922d997f057573ddd9923
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Wed Nov 18 23:24:53 2015 +0100
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Wed Nov 18 23:24:53 2015 +0100
fix dying on empty slidefile
diff --git a/sent.c b/sent.c
index e68051f..f7cadb6 100644
--- a/sent.c
+++ b/sent.c
_AT_@ -685,7 +685,7 @@ int main(int argc, char *argv[])
}
}
- if (!slides || !slides[0].lines)
+ if (!slidecount)
usage();
xinit();
Received on Wed Nov 18 2015 - 23:22:42 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 18 2015 - 23:24:13 CET