1
0
forked from aniani/vim

patch 8.2.0126: textprop test fails

Problem:    Textprop test fails.
Solution:   Fix sign in computation.
This commit is contained in:
Bram Moolenaar 2020-01-17 21:00:59 +01:00
parent 3c71aec696
commit 94b6fb78c5
2 changed files with 3 additions and 1 deletions

View File

@ -5774,7 +5774,7 @@ ml_find_line_or_offset(buf_T *buf, linenr_T lnum, long *offp)
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;

View File

@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
126,
/**/
125,
/**/