diff options
author | Michael Elkins <me@sigpipe.org> | 2002-11-11 20:32:30 +0000 |
---|---|---|
committer | Michael Elkins <me@sigpipe.org> | 2002-11-11 20:32:30 +0000 |
commit | 021118d5487ac2e692ea5f7818aa615cd40f1059 (patch) | |
tree | 36254765836772a2e00281174293458467aba394 /hdrline.c | |
parent | b7af4f593288f7ac92a1c2fb724c21dcd580ecdc (diff) |
Fix #485: Make %z work like %Z inside of %{} in $index_format.
Diffstat (limited to 'hdrline.c')
-rw-r--r-- | hdrline.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu> + * Copyright (C) 1996-2000,2002 Michael R. Elkins <me@mutt.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -346,7 +346,7 @@ hdr_format_str (char *dest, if (*cp == '%') { cp++; - if (*cp == 'Z' && (op == 'd' || op == '{')) + if ((*cp == 'Z' || *cp == 'z') && (op == 'd' || op == '{')) { if (len >= 5) { |