summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screen.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index 3e54ba67..5c4fadde 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3459,9 +3459,11 @@ win_line(wp, lnum, startrow, endrow, nochange)
#ifdef FEAT_DIFF
if (diff_hlf != (hlf_T)0)
{
- if (diff_hlf == HLF_CHD && ptr - line >= change_start)
+ if (diff_hlf == HLF_CHD && ptr - line >= change_start
+ && n_extra == 0)
diff_hlf = HLF_TXD; /* changed text */
- if (diff_hlf == HLF_TXD && ptr - line > change_end)
+ if (diff_hlf == HLF_TXD && ptr - line > change_end
+ && n_extra == 0)
diff_hlf = HLF_CHD; /* changed line */
line_attr = hl_attr(diff_hlf);
}
diff --git a/src/version.c b/src/version.c
index 5676bcdf..1744d60e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 9,
+/**/
8,
/**/
7,