mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
8600bd8bf3
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
11 lines
724 B
Diff
11 lines
724 B
Diff
--- share/texmf-dist/scripts/texcount/texcount.pl.orig 2013-11-11 18:16:18.388313783 +0000
|
|
+++ share/texmf-dist/scripts/texcount/texcount.pl 2013-11-11 18:16:32.407314117 +0000
|
|
@@ -2218,7 +2218,7 @@
|
|
}
|
|
$template=~s/\{VER\}/$versionnumber/gi;
|
|
# TODO: Should base warnings and errors on TeXcode or Main object
|
|
- $template=__process_template($template,"W|WARN|WARNING|WARNINGS",length(%warnings));
|
|
+ $template=__process_template($template,"W|WARN|WARNING|WARNINGS",scalar(keys %warnings));
|
|
$template=__process_template($template,"E|ERR|ERROR|ERRORS",$errorcount);
|
|
$template=__process_template($template,"S|SUM",get_sum_count($count));
|
|
$template=__process_template($template,"T|TITLE",$count->{'title'}||"");
|