From 4f0b0a121c47544abfbb0966e98163bf45cddfd7 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Thu, 31 May 2018 10:07:09 +0100 Subject: Fix ordering of count_changes() properly --- stattrans.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stattrans.pl') diff --git a/stattrans.pl b/stattrans.pl index de43989822f..7f70175bcbe 100755 --- a/stattrans.pl +++ b/stattrans.pl @@ -261,7 +261,7 @@ sub check_translation # Here we compare the original version with the translated one and print # a note for the user if their first or last numbers are too far apart # From translation-check.wml - my $version_diff = $VCS->count_changes($orig_file, $version, $translation); + my $version_diff = $VCS->count_changes($orig_file, $translation, $version); if (!defined $version_diff) { print "check_translation: error from count_changes for orig_file $orig_file, file $file\n"; } else { -- cgit v1.2.3