dump-asy.pl: use layout instead of orientation for names (#3004)

This commit is contained in:
Orestis 2017-09-30 20:17:20 +03:00 committed by Michael Stapelberg
parent ffa228e653
commit 464c158d9a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ sub dump_node {
$na =~ s/~/\\textasciitilde{}/g; $na =~ s/~/\\textasciitilde{}/g;
my $type = 'leaf'; my $type = 'leaf';
if (!defined($n->{window})) { if (!defined($n->{window})) {
$type = $n->{orientation} . '-split'; $type = $n->{layout};
} }
my $name = qq|``$na'' ($type)|; my $name = qq|``$na'' ($type)|;