diff options
author | Xin LI <delphij@FreeBSD.org> | 2020-10-24 05:25:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2020-10-24 05:25:54 +0000 |
commit | e3e1c0a5de4b6c7d51c0282b9378427383134aa9 (patch) | |
tree | d1180166250393879730fe69e09432a8195b537a /jump.c | |
parent | 6aa86b45318b321ba7e9cc3c221ab9062ddac4a0 (diff) |
Notes
Diffstat (limited to 'jump.c')
-rw-r--r-- | jump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |