summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c2
1 files changed, 1 insertions, 1 deletions
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)