summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-23 13:08:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-23 13:08:54 +0200
commit3e6dac3eb5b9e69f78e7d88e607636ab08e67e58 (patch)
tree07065d2454c1b1474ac0b3790ac6eeda49036730 /bin/efa
parent6c653dd2f0d8794ad10c8d938b4e30de40528837 (diff)
efa: Show "Fußweg" on all connections, not just the last one
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
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*<br>\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/) {