summaryrefslogtreecommitdiff
path: root/jump.c
diff options
context:
space:
mode:
Diffstat (limited to 'jump.c')
-rw-r--r--jump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jump.c b/jump.c
index 0e1d35d0e04f..a8ed6a5303e5 100644
--- a/jump.c
+++ b/jump.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2019 Mark Nudelman
+ * Copyright (C) 1984-2020 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -219,7 +219,7 @@ jump_loc(pos, sline)
nline -= sindex;
if (nline > 0)
forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0);
- else if (nline < 0)
+ else
back(-nline, position(TOP), 1, 0);
#if HILITE_SEARCH
if (show_attn)