summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-30 23:24:10 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-30 23:24:10 +0200
commit5945f06682ddb74b6c27f15221e5478e3be990a2 (patch)
treeeb9be059d2d9059bf00fc7cfc2d8e5b37e64c6be /bin
parent529ef1c349d22c89953134448ab8a6b2279aa991 (diff)
efa-m: Proper departure time alignment for daychanges
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa-m5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/efa-m b/bin/efa-m
index de09aa2..2d512c6 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -87,7 +87,10 @@ sub display_result {
}
printf(
- join( q{ }, ( map { "%-${_}s" } @line_length ) ) . "\n",
+ join( q{ },
+ "%${line_length[0]}s",
+ ( map { "%-${_}s" } @line_length[ 1, -1 ] ) )
+ . "\n",
@{$line}[ 0 .. 3 ]
);
}