1
0
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:
sin 2015-02-17 12:14:44 +00:00
parent 29be7a3f23
commit 9effb224c8
2 changed files with 4 additions and 4 deletions

View File

@ -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]);

View File

@ -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]);