From a712177a4b2888ded2df569f79e3b7057b5e0988 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 19 May 1996 20:25:28 +0000 Subject: [PATCH] Tweak indentation. --- src/dircolors.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dircolors.c b/src/dircolors.c index 30dccaf..9a1a333 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"); -- 2.7.4