From 99c6bd39430f031ea0de1244821201b4d88130ac Mon Sep 17 00:00:00 2001 From: salad Date: Mon, 26 Oct 2020 13:15:59 +0100 Subject: reqdy for MERGE --- src/c_init.c | 7 +++---- src/c_input.c | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/c_init.c b/src/c_init.c index 196a8ff..77d3023 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -12,13 +12,13 @@ #include #include -#include #include #include +#include #include "c_init.h" -#include "c_input.h" #include "c_keys.h" +#include "c_input.h" #include "c_utils.h" #include "s_struct.h" #include "m_prompt.h" @@ -114,8 +114,7 @@ static char } else { - return ((c_read_cap(buf, line, tcaps, msh) == 130) ? - c_new_line(ft_strdup("\n"), tcaps) : NULL); + c_read_cap(buf, line, tcaps, msh); } return ((buf[0] == '\n') ? c_new_line(line, tcaps) : NULL); } diff --git a/src/c_input.c b/src/c_input.c index cab18b8..5855112 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -10,10 +10,11 @@ /* */ /* ************************************************************************** */ -#include -#include #include +#include +#include #include +#include #include "c_init.h" #include "c_keys.h" -- cgit v1.2.3