diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/shada.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c index a9f5d9bc5b..e314c702ad 100644 --- a/src/nvim/shada.c +++ b/src/nvim/shada.c @@ -1493,7 +1493,7 @@ static void shada_read(ShaDaReadDef *const sd_reader, const int flags) #define SDE_TO_XFMARK(entry) fm #define ADJUST_IDX(i) \ if (curwin->w_jumplistidx >= i \ - && curwin->w_jumplistidx + 1 < curwin->w_jumplistlen) { \ + && curwin->w_jumplistidx + 1 <= curwin->w_jumplistlen) { \ curwin->w_jumplistidx++; \ } #define DUMMY_AFTERFREE(entry) |