Mercurial > vim
changeset 19133:dc6a0b05b082 v8.2.0126
patch 8.2.0126: textprop test fails
Commit: https://github.com/vim/vim/commit/94b6fb78c578caab014fea4029bb534246a95f6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 17 21:00:59 2020 +0100
patch 8.2.0126: textprop test fails
Problem: Textprop test fails.
Solution: Fix sign in computation.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 Jan 2020 21:15:03 +0100 |
parents | ad019c1bf247 |
children | 28c9fd90f9af |
files | src/memline.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/memline.c +++ b/src/memline.c @@ -5774,7 +5774,7 @@ ml_find_line_or_offset(buf_T *buf, linen if (!(offset >= size + text_end - (int)((dp->db_index[idx]) & DB_INDEX_MASK) #ifdef FEAT_PROP_POPUP - - (long)(textprop_total - textprop_size) + - (long)(textprop_total + textprop_size) #endif + ffdos)) break;