aboutsummaryrefslogtreecommitdiff
path: root/src/librc-strlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc-strlist.c')
-rw-r--r--src/librc-strlist.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/librc-strlist.c b/src/librc-strlist.c
index 126ec78e..042b2097 100644
--- a/src/librc-strlist.c
+++ b/src/librc-strlist.c
@@ -33,8 +33,8 @@ char **rc_strlist_add (char **list, const char *item)
}
static char **_rc_strlist_addsort (char **list, const char *item,
- int (*sortfunc) (const char *s1,
- const char *s2))
+ int (*sortfunc) (const char *s1,
+ const char *s2))
{
char **newlist;
int i = 0;
@@ -90,12 +90,12 @@ char **rc_strlist_delete (char **list, const char *item)
while (list[i])
if (! strcmp (list[i], item))
{
- free (list[i]);
- do
- {
- list[i] = list[i + 1];
- i++;
- } while (list[i]);
+ free (list[i]);
+ do
+ {
+ list[i] = list[i + 1];
+ i++;
+ } while (list[i]);
}
return (list);