Skip to content

Commit 89fd350

Browse files
committed
edit: 5-string_toupper.c
1 parent b9dea9c commit 89fd350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0x06-pointers_arrays_strings/5-string_toupper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ char *string_toupper(char *str)
1717

1818
while (str[index] != '\0')
1919
{
20-
if ((str[index] >= 98) && (str[index] <= 122))
20+
if ((str[index] >= 97) && (str[index] <= 122))
2121
{
2222
while (lower[index2] != '\0')
2323
{

0 commit comments

Comments
 (0)