From 3e6dac3eb5b9e69f78e7d88e607636ab08e67e58 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 23 May 2009 13:08:54 +0200 Subject: efa: Show "Fußweg" on all connections, not just the last one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/efa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/efa b/bin/efa index f655805..8af3568 100755 --- a/bin/efa +++ b/bin/efa @@ -64,7 +64,7 @@ sub parse_content($) { s/\s*
\s*/, /g; s/<[^>]+>//g; } - for (my $i = 0; @{$raw->[$offer]} >= (($i+1) * $groupsize); $i++) { + for (my $i = 0; @{$raw->[$offer]} >= (($i+1) * $groupsize) - 1; $i++) { $offset = $i * $groupsize; undef(@extra); if ($raw->[$offer]->[$offset+2] =~ /^Fußweg/) { -- cgit v1.2.3