chiark / gitweb /
Fix label to have bare node name
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 15 Apr 2015 12:48:43 +0000 (13:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 15 Apr 2015 12:48:43 +0000 (13:48 +0100)
compute

diff --git a/compute b/compute
index b4d802b..38ad31b 100755 (executable)
--- a/compute
+++ b/compute
@@ -430,7 +430,7 @@ printf "    %-5s %s\n", $_, $choices{$_}{Desc}
 if (defined $gfile) {
     foreach my $cho (values %choices) {
        my $chn = $choices[$cho->{Index}];
-       my $label = "\\N\n$cho->{Desc}";
+       my $label = "\\$chn\n$cho->{Desc}";
        if ($cho->{Dropped}) {
            $label .= "\nDropped: $cho->{Dropped}";
        }