summaryrefslogtreecommitdiff
path: root/src/xdiff/xhistogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdiff/xhistogram.c')
-rw-r--r--src/xdiff/xhistogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdiff/xhistogram.c b/src/xdiff/xhistogram.c
index c84812893..500d8112a 100644
--- a/src/xdiff/xhistogram.c
+++ b/src/xdiff/xhistogram.c
@@ -258,7 +258,7 @@ static int fall_back_to_classic_diff(struct histindex *index,
int line1, int count1, int line2, int count2)
{
xpparam_t xpp;
- xpp.flags = index->xpp->flags & ~XDF_HISTOGRAM_DIFF;
+ xpp.flags = index->xpp->flags & ~XDF_DIFF_ALGORITHM_MASK;
return xdl_fall_back_diff(index->env, &xpp,
line1, count1, line2, count2);