summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-12-16 19:42:10 +0100
committersalad <fmoenne-@student.le-101.fr>2020-12-16 19:42:10 +0100
commitd058b05e6f31a426550e2f74f4d6f22e68b1537d (patch)
tree8b1e1ad8b4fd3c59b7ad1d529efbca2f1fa941e4
parentormnshitz (diff)
download42-minishell-d058b05e6f31a426550e2f74f4d6f22e68b1537d.tar.gz
42-minishell-d058b05e6f31a426550e2f74f4d6f22e68b1537d.tar.bz2
42-minishell-d058b05e6f31a426550e2f74f4d6f22e68b1537d.tar.xz
42-minishell-d058b05e6f31a426550e2f74f4d6f22e68b1537d.tar.zst
42-minishell-d058b05e6f31a426550e2f74f4d6f22e68b1537d.zip
fuck
-rw-r--r--src/c_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_init.c b/src/c_init.c
index 4bfcf26..1659f3f 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -122,8 +122,8 @@ static char
if (ft_isprint(buf[0]))
c_add_char(line, buf, tcaps);
else if (((*((unsigned int *)buf)) == UP_K) ||
- ((*((unsigned int *)buf)) == CTRL_P) ||
- ((*((unsigned int *)buf)) == DOWN_K) ||
+ ((*((unsigned int *)buf)) == CTRL_P) ||
+ ((*((unsigned int *)buf)) == DOWN_K) ||
((*((unsigned int *)buf)) == CTRL_N))
{
tcaps->key = c_set_key(buf);