Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dt/mailinfo'
[gitweb.git]
/
xdiff
/
xemit.c
diff --git
a/xdiff/xemit.c
b/xdiff/xemit.c
index b52b4b9c1ee3ba3c6b94594af68a275e458bebaf..7389ce41022dbee5776d44a937e8bcf780656f42 100644
(file)
--- a/
xdiff/xemit.c
+++ b/
xdiff/xemit.c
@@
-239,7
+239,7
@@
int xdl_emit_diff(xdfenv_t *xe, xdchange_t *xscr, xdemitcb_t *ecb,
if (xche->next) {
long l = XDL_MIN(xche->next->i1,
xe->xdf1.nrec - 1);
- if (l <= e1 ||
+ if (l
- xecfg->ctxlen
<= e1 ||
get_func_line(xe, xecfg, NULL, l, e1) < 0) {
xche = xche->next;
goto post_context_calculation;