From: Lourens Rozema Date: Fri, 20 Aug 2010 19:35:24 +0000 (+0200) Subject: Bug fix of invalid presentation of container's split orientation. X-Git-Tag: tree-pr1~135 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f73252431bc6391e170be782be2e20eac91210b1;p=i3%2Fi3 Bug fix of invalid presentation of container's split orientation. --- diff --git a/dump-asy.pl b/dump-asy.pl index 343a39c4..315dcc6f 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 ? "h" : "v"); + my $o = ($n->{orientation} == 0 ? "u" : ($n->{orientation} == 1 ? "h" : "v")); my $w = (defined($n->{window}) ? $n->{window} : "N"); my $na = $n->{name}; $na =~ s/#/\\#/g;