summaryrefslogtreecommitdiffstats
path: root/src/p_args.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 14:51:23 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-12 14:51:23 +0200
commit8b15c7b0f233238a53088d8c095bd5af7f7592e7 (patch)
treeb74088caab21732f01268f4c12e4c7bd2a7096b9 /src/p_args.c
parentIn progress (diff)
download42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.gz
42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.bz2
42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.xz
42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.tar.zst
42-minishell-8b15c7b0f233238a53088d8c095bd5af7f7592e7.zip
how tf will I norm this
Diffstat (limited to 'src/p_args.c')
-rw-r--r--src/p_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_args.c b/src/p_args.c
index 5276ae1..54a95a7 100644
--- a/src/p_args.c
+++ b/src/p_args.c
@@ -72,7 +72,7 @@ static uint16_t
mode = u_meet_dquote(word, ptr, mode);
else if (*ptr == C_SQUOTE)
mode = u_meet_squote(word, ptr, mode);
- if (ft_iswhitespace(*ptr) &&
+ if (ft_iswhitespace(*ptr) == TRUE &&
p_meet_whitespace((char*)word, ptr, mode) == TRUE)
{
ptr = p_skip_whitespace(ptr);