mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
expand, unexpand: Minor style fix as per the suckless guide
This commit is contained in:
parent
29be7a3f23
commit
9effb224c8
4
expand.c
4
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]);
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user