sent

simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log | Files | Refs | README | LICENSE

commit fc82374b03b5b2fd9b9770163184d3747a1ccd26
parent f84e7a585e530e15437f7d87b721d0df3f98e24e
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Wed,  4 Nov 2015 01:40:50 +0100

update license year

Diffstat:
MLICENSE | 2+-
Msent.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014 Markus Teich +Copyright (c) 2014-2015 Markus Teich png handling stuff adapted from meh by John Hawthorn diff --git a/sent.c b/sent.c @@ -381,7 +381,7 @@ void load(FILE *fp) char buf[BUFSIZ], *p; size_t i = slidecount; - /* read each line from stdin and add it to the item list */ + /* read each line from fp and add it to the item list */ while (fgets(buf, sizeof(buf), fp)) { if ((i+1) * sizeof(*slides) >= size) if (!(slides = realloc(slides, (size += BUFSIZ)))) @@ -454,7 +454,7 @@ void run() void usage() { - die("sent " VERSION " (c) 2015 markus.teich@stusta.mhn.de\n" \ + die("sent " VERSION " (c) 2014-2015 markus.teich@stusta.mhn.de\n" \ "usage: sent FILE1 [FILE2 ...]", argv0); }