From 70e3b4133b89e4e77a67139ccaa37322e2507e49 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 1 Sep 2020 18:28:12 +0200 Subject: Added quotes multiline --- src/p_line.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/p_line.c') 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); } -- cgit v1.2.3