fix dying on empty slidefile

This commit is contained in:
Markus Teich 2015-11-18 23:24:53 +01:00
parent 996a4c5c6e
commit eac14478e9
1 changed files with 1 additions and 1 deletions

2
sent.c
View File

@ -685,7 +685,7 @@ int main(int argc, char *argv[])
}
}
if (!slides || !slides[0].lines)
if (!slidecount)
usage();
xinit();