Skip to content

Commit 02c7e08

Browse files
committed
Add 6
1 parent 0b8279d commit 02c7e08

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pointers_arrays_strings/6-cap_string.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ char *cap_string(char *str)
1616
i++;
1717

1818
if (str[i - 1] == ' ' ||
19-
str[i - 1] == '\t' ||
20-
str[i - 1] == '\n' ||
19+
str[i - 1] == '\t' ||
20+
str[i - 1] == '\n' ||
2121
str[i - 1] == ',' ||
2222
str[i - 1] == ';' ||
23-
str[i - 1] == '.' ||
24-
str[i - 1] == '!' ||
25-
str[i - 1] == '?' ||
26-
str[i - 1] == '"' ||
23+
str[i - 1] == '.' ||
24+
str[i - 1] == '!' ||
25+
str[i - 1] == '?' ||
26+
str[i - 1] == '"' ||
2727
str[i - 1] == '(' ||
2828
str[i - 1] == ')' ||
2929
str[i - 1] == '{' ||

0 commit comments

Comments
 (0)