commit | d4b96bc637e22785ad956b22ff0de97a89a869e3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Oct 19 15:33:39 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Oct 19 15:33:39 2007 +0000 |
tree | 78f7d8e8eca64eace93430649da9de2206db11fa | |
parent | c188b88040b10b62871f51254350b226318885cd [diff] [blame] |
updated for version 7.1-143
diff --git a/src/diff.c b/src/diff.c index 23142cf..bdbda08 100644 --- a/src/diff.c +++ b/src/diff.c
@@ -1310,7 +1310,7 @@ dp->df_count[idx_new] += -off; off = 0; } - for (i = idx_orig; i < idx_new + !notset; ++i) + for (i = idx_orig; i < idx_new; ++i) if (curtab->tp_diffbuf[i] != NULL) dp->df_count[i] = dpl->df_lnum[i] + dpl->df_count[i] - dp->df_lnum[i] + off;