]> granicus.if.org Git - neomutt/commitdiff
Fix #485: Make %z work like %Z inside of %{} in $index_format.
authorMichael Elkins <me@sigpipe.org>
Mon, 11 Nov 2002 20:32:30 +0000 (20:32 +0000)
committerMichael Elkins <me@sigpipe.org>
Mon, 11 Nov 2002 20:32:30 +0000 (20:32 +0000)
PATCHES
hdrline.c

diff --git a/PATCHES b/PATCHES
index 9983ec622f33c7f8f8407212c0a69ada5910fda3..298c91bbdd515d3b0a78564b3e1947b664ad7348 100644 (file)
--- a/PATCHES
+++ b/PATCHES
@@ -1,2 +1,3 @@
 patch-1.5.1-me.redraw.1
+patch-1.5.1.me.sender_tz.1
 patch-1.5.1.me.attachdel_size.1
index ffbaa8806250ed321fc742e0fb51c1aab1e6d36b..33c8108ae53e5a1aad77cb10b8f8b8e6f1e60c26 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -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)
              {