diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-01 18:28:12 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-01 18:28:12 +0200 |
commit | 70e3b4133b89e4e77a67139ccaa37322e2507e49 (patch) | |
tree | f288fbaad300075c16b6a5385d860b142fa59ba9 /src/p_line.c | |
parent | Cool (diff) | |
download | 42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.gz 42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.bz2 42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.xz 42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.tar.zst 42-minishell-70e3b4133b89e4e77a67139ccaa37322e2507e49.zip |
Added quotes multiline
Diffstat (limited to '')
-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); } |