2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

contrib/pre-commit: fix typo

git-svn-id: https://svn.fhem.de/fhem/trunk@16269 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-02-25 18:32:55 +00:00
parent 60e27f043b
commit 32460daaf8

View File

@ -126,7 +126,7 @@ foreach my $row (split("\n", $fList)) {
$tagcount{$tag} +=()= ($l =~ /<$tag>/gi);
$tagcount{$tag} -=()= ($l =~ /<\/$tag>/gi);
if($tagcount{$tag} < 0) {
print "*** $lang $fPath: negative tagcount for $tag, line $line\n";
print "*** $lang $fName: negative tagcount for $tag, line $line\n";
$tagcount{$tag} = 0;
}
$llwct{$tag} = $line if(!$llwct{$tag} || ($ot && !$tagcount{$tag}));