sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 9effb224c89bf6009e463658576b10b4de33cd12
parent 29be7a3f234cbd0a1d3eda9dc83294498f77b87f
Author: sin <sin@2f30.org>
Date:   Tue, 17 Feb 2015 12:14:44 +0000

expand, unexpand: Minor style fix as per the suckless guide

Diffstat:
Mexpand.c | 4++--
Munexpand.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/expand.c b/expand.c @@ -105,9 +105,9 @@ main(int argc, char *argv[]) tablistlen = parselist(tl); - if (argc == 0) + if (argc == 0) { expand("<stdin>", stdin); - else { + } else { for (; argc > 0; argc--, argv++) { if (!(fp = fopen(argv[0], "r"))) { weprintf("fopen %s:", argv[0]); diff --git a/unexpand.c b/unexpand.c @@ -148,9 +148,9 @@ main(int argc, char *argv[]) tablistlen = parselist(tl); - if (argc == 0) + if (argc == 0) { unexpand("<stdin>", stdin); - else { + } else { for (; argc > 0; argc--, argv++) { if (!(fp = fopen(argv[0], "r"))) { weprintf("fopen %s:", argv[0]);