diff options
Diffstat (limited to 'src/p_line.c')
-rw-r--r-- | src/p_line.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/p_line.c b/src/p_line.c index 0224bbb..9c96610 100644 --- a/src/p_line.c +++ b/src/p_line.c @@ -37,22 +37,6 @@ static void } } -static void - p_subst_spaces(char line[]) -{ - char *ptr; - - ptr = line; - while (*ptr != '\0') - { - if (ft_iswhitespace(*ptr) == TRUE) - { - *ptr = ' '; - } - ptr++; - } -} - static t_bool p_check_whitespaces_only(char line[]) { @@ -75,7 +59,6 @@ void t_msh *msh) { p_delete_comments(line); - p_subst_spaces(line); if (p_check_whitespaces_only(line) == TRUE) { return ; |