diff src/diff.c @ 1428:912b18745def v7.1.143

updated for version 7.1-143
author vimboss
date Fri, 19 Oct 2007 15:33:39 +0000
parents cdd82acd75b4
children 3372616fe1f1
line wrap: on
line diff
--- a/src/diff.c
+++ b/src/diff.c
@@ -1310,7 +1310,7 @@ diff_read(idx_orig, idx_new, fname)
 		    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;