diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-30 19:42:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-30 19:42:37 +0100 |
commit | 2243e74e8785308b2a7ef7e5cfc75c50685a9c26 (patch) | |
tree | 1699b36624cbd672740f9e390225b4d6147370c8 /bin | |
parent | 1493bd9d125af79d464bcf6130a855726cde8cc1 (diff) |
aseag-m: Do not erroneously reverse route when combining route_after with route_before
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/aseag-m | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/aseag-m b/bin/aseag-m index 80eb50f..947db81 100755 --- a/bin/aseag-m +++ b/bin/aseag-m @@ -189,7 +189,7 @@ sub show_results { @route = show_route( $dt_now, $dt_format, $d->route_post ); } elsif ( $edata{route_before} ) { - @route = show_route( $dt_now, $dt_format, $d->route_pre ); + @route = reverse show_route( $dt_now, $dt_format, $d->route_pre ); } if ( $edata{relative_times} ) { @@ -210,10 +210,6 @@ sub show_results { ); } - if ( $edata{route_before} ) { - @{ $line[4] } = reverse @{ $line[4] }; - } - if ( $edata{route_interesting} ) { $line[2] = join( q{ }, map { $_->name } $d->route_interesting ); } |