chiark / gitweb /
compute: do not generate accidental unwanted \ escapes in dot
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 2 Aug 2016 12:13:29 +0000 (13:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 2 Aug 2016 12:13:29 +0000 (13:13 +0100)
compute

diff --git a/compute b/compute
index bb2f2ecf88c3da3daf8735f78272ecdc27660b5b..bd9ed7c6ab9e0b01d9a89f4cdcff95eed7ec6c07 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 = "\\$chn\n$cho->{Desc}";
+       my $label = "$chn\n$cho->{Desc}";
        if ($cho->{Dropped}) {
            $label .= "\nDropped: $cho->{Dropped}";
        }