summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hafas-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hafas-m b/bin/hafas-m
index dd5336f..3f6972c 100755
--- a/bin/hafas-m
+++ b/bin/hafas-m
@@ -386,8 +386,8 @@ elsif ( $opt{journey} ) {
if ( $result->number ) {
printf( " | Zug %s", $result->number );
}
- if ( $result->line ) {
- printf( " | Linie %s", $result->line );
+ if ( $result->line_no ) {
+ printf( " | Linie %s", $result->line_no );
}
say q{};