Introduction
Introduction Statistics Contact Development Disclaimer Help
fix dying on empty slidefile - sent - simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log
Files
Refs
README
LICENSE
---
commit eac14478e949e29e442922d997f057573ddd9923
parent 996a4c5c6e7b98c9f3ef50846f567b5d6a2da932
Author: Markus Teich <[email protected]>
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();
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.