From f25c62cb185e3261e907ce33f671418202e411e7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 29 Oct 2009 09:50:45 +0000 Subject: unposted: Functions/Calendar/calendar: brief display failed on single lines --- Functions/Calendar/calendar | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Functions/Calendar/calendar') diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar index 1338aa9f8..c5605fa71 100644 --- a/Functions/Calendar/calendar +++ b/Functions/Calendar/calendar @@ -298,7 +298,8 @@ fi fi (( shown = 0 )) if (( brief )); then - showline=${(F)${${(f)line}[1,brief]}} + line=("${(f)line}") + showline=${(F)${${line[1,brief]}}} else showline=$line fi -- cgit 1.4.1