diff --git a/diffcore-rename.c b/diffcore-rename.c
index b9b039d4a344319da4e24b0fdbe80d9a315351ac..0cd4c1305ba82b39bb8455dd6779fec2cd692e02 100644 (file)
--- a/diffcore-rename.c
+++ b/diffcore-rename.c
* and the final score computation below would not have a
* divide-by-zero issue.
*/
- if (base_size * (MAX_SCORE-minimum_score) < delta_size * MAX_SCORE)
+ if (max_size * (MAX_SCORE-minimum_score) < delta_size * MAX_SCORE)
return 0;
if (!src->cnt_data && diff_populate_filespec(src, 0))