about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2014-10-27 20:53:42 +0100
committerMikael Magnusson <mikachu@gmail.com>2014-10-27 20:54:20 +0100
commited90154e58d2bd9a5e91fa430a14f55f78376861 (patch)
treeb6632a011d4c0bf13992a7621f363ec1c98a56c3 /Src
parentded97b8ed969d463906ef1145a618bee547f4620 (diff)
downloadzsh-ed90154e58d2bd9a5e91fa430a14f55f78376861.tar.gz
zsh-ed90154e58d2bd9a5e91fa430a14f55f78376861.tar.xz
zsh-ed90154e58d2bd9a5e91fa430a14f55f78376861.zip
33562: Fix thinko in previous commit
Diffstat (limited to 'Src')
-rw-r--r--Src/jobs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index d312b2380..494d5aa90 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -702,8 +702,10 @@ printtime(struct timeval *real, child_times_t *ti, char *desc)
 #endif
 
     queue_signals();
-    if (!(s = unmetafy(getsparam("TIMEFMT"), NULL)))
+    if (!(s = getsparam("TIMEFMT")))
 	s = DEFAULT_TIMEFMT;
+    else
+	s = unmetafy(s, NULL);
 
     for (; *s; s++)
 	if (*s == '%')