summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-16 18:22:56 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-16 18:22:56 +0200
commitcd754048aa9dca13c8fc85adadbde69a684533e1 (patch)
tree61103b7ca8d100cf488a4f85cc8e239427ab8c0a /src
parentgitignore update (diff)
download42-minishell-cd754048aa9dca13c8fc85adadbde69a684533e1.tar.gz
42-minishell-cd754048aa9dca13c8fc85adadbde69a684533e1.tar.bz2
42-minishell-cd754048aa9dca13c8fc85adadbde69a684533e1.tar.xz
42-minishell-cd754048aa9dca13c8fc85adadbde69a684533e1.tar.zst
42-minishell-cd754048aa9dca13c8fc85adadbde69a684533e1.zip
BSD style fix
Diffstat (limited to 'src')
-rw-r--r--src/p_subst_alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_subst_alias.c b/src/p_subst_alias.c
index 674b9a3..fb85b35 100644
--- a/src/p_subst_alias.c
+++ b/src/p_subst_alias.c
@@ -111,7 +111,7 @@ size_t p_subst_alias(char word[], t_bool reset, t_msh *msh)
s.msh = msh;
p_reset_used(used, reset, &i);
ptr = word;
- while (*ptr != C_NUL && ft_iswhitespace(*ptr))
+ while (*ptr != C_NUL && ft_iswhitespace(*ptr) == TRUE)
ptr++;
s.good = TRUE;
s.locat[0] = (ptr - word);