Skip to content

Commit cb95bb4

Browse files
committed
consistency with my tabs
1 parent 5171a11 commit cb95bb4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

lvl1/first_word/first_word.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22

33
void ft_putchar(char c)
44
{
5-
write(1, &c, 1);
5+
write(1, &c, 1);
66
}
77

88
int ft_isspace(char c)
99
{
10-
if (c == ' ' || c == '\t')
11-
return (1);
12-
return (0);
10+
if (c == ' ' || c == '\t')
11+
return (1);
12+
return (0);
1313
}
1414

1515
void first_word(char *str)
1616
{
17-
int i;
17+
int i;
1818

19-
i = 0;
20-
while (str[i] && ft_isspace(str[i]))
21-
i++;
22-
while (str[i] && !(ft_isspace(str[i])))
23-
ft_putchar(str[i++]);
19+
i = 0;
20+
while (str[i] && ft_isspace(str[i]))
21+
i++;
22+
while (str[i] && !(ft_isspace(str[i])))
23+
ft_putchar(str[i++]);
2424
}
2525

2626
int main(int argc, char *argv[])
2727
{
28-
if (argc == 2)
29-
first_word(argv[1]);
30-
ft_putchar('\n');
31-
return (0);
28+
if (argc == 2)
29+
first_word(argv[1]);
30+
ft_putchar('\n');
31+
return (0);
3232
}

0 commit comments

Comments
 (0)