From cd754048aa9dca13c8fc85adadbde69a684533e1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 16 Oct 2020 18:22:56 +0200 Subject: BSD style fix --- src/p_subst_alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3