From bd32564108d1ec701debd4432dfacdd2742dca08 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 2 Dec 2020 17:45:26 +0100 Subject: No more step --- src/c_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_init.c b/src/c_init.c index 82600e8..09a7828 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -129,7 +129,7 @@ char *c_set_ptr(t_bool reset, char key, t_msh *msh) p = msh->curr_hist_ptr; context = msh->curr_hist_ptr; } - else if ((key == -1 && p - context != 0) || key == 1) + if ((key == -1 && p - context != 0) || key == 1) { p += (key == -1) ? (2 * key) : (0); while (((key == -1 && p - context != 0) || key == 1) -- cgit v1.2.3