From d5388147f122c86123840b8f20d89aebef59d393 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 8 Jan 2011 00:45:10 +0100 Subject: [PATCH] ipc: adapt dump-asy.pl for the new orientation format --- dump-asy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump-asy.pl b/dump-asy.pl index dc2cbeab..a8eab04c 100755 --- a/dump-asy.pl +++ b/dump-asy.pl @@ -22,7 +22,7 @@ say $tmp "treeLevelStep = 2cm;"; sub dump_node { my ($n, $parent) = @_; - my $o = ($n->{orientation} == 0 ? "u" : ($n->{orientation} == 1 ? "h" : "v")); + my $o = ($n->{orientation} eq 'none' ? "u" : ($n->{orientation} eq 'horizontal' ? "h" : "v")); my $w = (defined($n->{window}) ? $n->{window} : "N"); my $na = $n->{name}; $na =~ s/#/\\#/g;