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 bb2f2ec..bd9ed7c 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}";
        }