changeset 43:41c48fda5d4d

Fix _ in material names of text format alloy list output.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Jul 2021 16:47:40 +0300
parents 36c9e3e31234
children 281777e9a3a5
files parsealloys.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/parsealloys.pl	Tue Jul 20 16:44:14 2021 +0300
+++ b/parsealloys.pl	Tue Jul 20 16:47:40 2021 +0300
@@ -220,7 +220,7 @@
     {
       foreach my $min2 (sort { $a cmp $b } keys %{$final{$min1}})
       {
-        my @reslist = sort {
+        my @reslist = map { ul($_) } sort {
             $final{$min1}{$min2}{$a} <=> $final{$min1}{$min2}{$b}
             ||
             $a cmp $b