diff options
Diffstat (limited to 'src/p_line.c')
-rw-r--r-- | src/p_line.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_line.c b/src/p_line.c index ec148e3..0224bbb 100644 --- a/src/p_line.c +++ b/src/p_line.c @@ -45,7 +45,7 @@ static void ptr = line; while (*ptr != '\0') { - if (ft_isspace(*ptr) == TRUE) + if (ft_iswhitespace(*ptr) == TRUE) { *ptr = ' '; } @@ -61,7 +61,7 @@ static t_bool ptr = line; while (*ptr != '\0') { - if (ft_isspace(*ptr) == FALSE) + if (ft_iswhitespace(*ptr) == FALSE) { return (FALSE); } |