# HG changeset patch # User Bram Moolenaar # Date 1579292103 -3600 # Node ID dc6a0b05b0820d99df694389ab9736c4e24345f9 # Parent ad019c1bf247a873d0377219cf640ca4a5b6a7f1 patch 8.2.0126: textprop test fails Commit: https://github.com/vim/vim/commit/94b6fb78c578caab014fea4029bb534246a95f6f Author: Bram Moolenaar 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. diff --git a/src/memline.c b/src/memline.c --- 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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 126, +/**/ 125, /**/ 124,