summaryrefslogtreecommitdiff
path: root/lib/exclude.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-07-28 10:08:37 +0200
committerBruno Haible <bruno@clisp.org>2010-07-28 10:08:37 +0200
commit7816a90a6b48681a2d98e6394b0b605a1d1f713c (patch)
tree8ed773dfc05674b591e34c7e0d988b2c5ec64b85 /lib/exclude.c
parentfa8d786628cd8a1dbd2194e7776bea07f97cca99 (diff)
downloadgnulib-7816a90a6b48681a2d98e6394b0b605a1d1f713c.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'lib/exclude.c')
-rw-r--r--lib/exclude.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/exclude.c b/lib/exclude.c
index a68f3cbef4..7b71c12421 100644
--- a/lib/exclude.c
+++ b/lib/exclude.c
@@ -142,14 +142,14 @@ unescape_pattern (char *str)
do
{
if (inset)
- {
- if (*q == ']')
- inset = 0;
- }
+ {
+ if (*q == ']')
+ inset = 0;
+ }
else if (*q == '[')
- inset = 1;
+ inset = 1;
else if (*q == '\\')
- q++;
+ q++;
}
while ((*str++ = *q++));
}
@@ -501,7 +501,7 @@ add_exclude (struct exclude *ex, char const *pattern, int options)
str = xstrdup (pattern);
if (options & EXCLUDE_WILDCARDS)
- unescape_pattern (str);
+ unescape_pattern (str);
p = hash_insert (seg->v.table, str);
if (p != str)
free (str);