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 b4d802bb78f5169e86b4e7ffb3a86d211ac11a92..38ad31b6f0ef85dd4d6aefd135dc3e40d1d74da5 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}";
        }