diff options
author | Jim Meyering <jim@meyering.net> | 1996-05-19 20:25:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-05-19 20:25:28 +0000 |
commit | a712177a4b2888ded2df569f79e3b7057b5e0988 (patch) | |
tree | 1f96be7777d8b456ca15055ae889bb4e576b1c3b | |
parent | b9ad7b9a9c479e25005984d0b442d121b1b0e1a9 (diff) | |
download | coreutils-a712177a4b2888ded2df569f79e3b7057b5e0988.tar.xz |
Tweak indentation.
-rw-r--r-- | src/dircolors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dircolors.c b/src/dircolors.c index 30dccafc6..9a1a3337d 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -341,7 +341,7 @@ setenv LS_COLORS \':"); state = ST_GLOBAL; /* FIXME: use getline */ - while (fgets (line, STRINGLEN, fp) != NULL ) + while (fgets (line, STRINGLEN, fp) != NULL) { parse_line (&keywd, &arg, line); if (*keywd != '\0') @@ -371,12 +371,12 @@ setenv LS_COLORS \':"); put_seq (keywd, '='); put_seq (arg, ':'); } - else if (strcasecmp(keywd, "OPTIONS") == 0) + else if (strcasecmp (keywd, "OPTIONS") == 0) { strcat (useropts, " "); strcat (useropts, arg); } - else if (strcasecmp(keywd, "COLOR") == 0) + else if (strcasecmp (keywd, "COLOR") == 0) { switch (arg[0]) { @@ -461,7 +461,7 @@ setenv LS_COLORS \':"); while (*p != '\0' && *p != ':') *q++ = *p++; /* Make sure it ends in slash. */ - if (*(q-1) != '/' ) + if (*(q - 1) != '/' ) *q++ = '/'; strcpy (q, "ls"); |