summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index 354cfeda9..ee921fa6e 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -457,7 +457,7 @@ compare_diff_distance_normalized (f_str_t *s1, f_str_t *s2)
if (!g_ascii_isspace (*h)) {
cur_diff ++;
}
- r1 --;
+ r2 --;
h ++;
}
}