🔨」 fix: wtf fucking quote

This commit is contained in:
2024-07-06 15:06:03 +02:00
parent 22f7565d47
commit 9bc1c75871
3 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/05 13:48:57 by adjoly #+# #+# */
/* Updated: 2024/07/03 11:26:49 by adjoly ### ########.fr */
/* Updated: 2024/07/06 15:04:35 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -21,7 +21,7 @@ size_t __get_len_arg(char *s)
tmp = s;
while (*tmp)
{
if (*tmp == ' ' && !is_inquote(tmp, tmp - s))
if (*tmp == ' ' && is_inquote(s, tmp - s) == FALSE)
break ;
tmp++;
}