From: Emden R. Gansner Date: Tue, 22 Oct 2013 15:11:13 +0000 (-0400) Subject: Fix lefty to use only 1.2 xdot and ignore 't' op. X-Git-Tag: 2.38.0~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37153c4967cd8802a97ac2d0622b176d5603861f;p=graphviz Fix lefty to use only 1.2 xdot and ignore 't' op. --- diff --git a/cmd/dotty/dotty_layout.lefty b/cmd/dotty/dotty_layout.lefty index 9f8283ba7..8aefac3a6 100644 --- a/cmd/dotty/dotty_layout.lefty +++ b/cmd/dotty/dotty_layout.lefty @@ -5,7 +5,7 @@ dotty.grablserver = function (lserver) { local fd; if (~dotty.lservers[lserver] | tablesize (dotty.lservers[lserver]) == 0) { - if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot')) >= 0)) { + if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot1.2')) >= 0)) { dotty.message (0, concat ('cannot start ', lserver)); return null; } @@ -438,6 +438,8 @@ dotty.protogt.unpackdraw = function (gt, attr) { } } else if (t[i] == 'I') { i = i + 7; + } else if (t[i] == 't') { + i = i + 2; } else { dotty.message (0, concat ('draw language parser error: ', t[i])); return null;