commit 89025943db24904d65c420716493e4ad2b40f203 parent 8b99c246a19ac9281964d810c2f280b2ee799bfc Author: Ricardo Mones <ricardo@mones.org> Date: Mon, 23 Nov 2015 20:27:58 +0100 Ungroup to make future tlds.h patches smaller Future starting after the next one⦠;-) Diffstat:
| M | tools/claws.get.tlds.pl | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/claws.get.tlds.pl b/tools/claws.get.tlds.pl @@ -60,9 +60,8 @@ foreach (@lines) { next if (/^XN--.*$/); # IDNs not supported yet, see bug #1670 my $tld = lc $_; # list comes in upper case print "\"$tld\""; ++$j; - print "," unless $i >= scalar @lines; - print "" . ($j % 5 == 0 or $i >= scalar @lines)? "\n": " "; - print "\t" if ($j % 5 == 0 and $i < scalar @lines); + print ",\n\t" unless $i >= scalar @lines; + print "\n" if $i >= scalar @lines; } print "};\n\n"; # close array