fix problem where all lines are suddenly dashed

by moving the variables into a different scope
This commit is contained in:
Harald Welte 2010-07-09 12:31:04 +02:00
parent ef3058d2c3
commit 1574f6203e
1 changed files with 1 additions and 1 deletions

View File

@ -137,9 +137,9 @@ sub entity_left_of($$)
sub gen_edges() sub gen_edges()
{ {
my $count = 1; my $count = 1;
my $l; my $r; my $dir; my $attr = "";
foreach my $m (@cfg_messages) { foreach my $m (@cfg_messages) {
my $l; my $r; my $dir; my $attr = "";
if (entity_left_of($$m{'src'}, $$m{'dst'})) { if (entity_left_of($$m{'src'}, $$m{'dst'})) {
$l = $$m{'src'}; $l = $$m{'src'};
$r = $$m{'dst'}; $r = $$m{'dst'};