fix: signal and \t
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/21 13:00:05 by cchauvet #+# #+# */
|
||||
/* Updated: 2023/04/05 15:11:16 by alouis-j ### ########.fr */
|
||||
/* Updated: 2023/04/07 11:07:52 by alouis-j ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -86,7 +86,7 @@ static int ft_empty_verif(const char *str)
|
||||
size_t i;
|
||||
|
||||
i = 0;
|
||||
while (str[i] == ' ')
|
||||
while (str[i] == ' ' || str[i] == '\t')
|
||||
i++;
|
||||
return (str[i] == '\0');
|
||||
}
|
||||
|
Reference in New Issue
Block a user