mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2026-12-03 15:21:44 +01:00
「🔨」 fix: wtf fucking quote
This commit is contained in:
1 parent
22f7565d47
commit
9bc1c75871
3 files changed
+8
-4
No files matched your search
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user