From: Michael Elkins Date: Mon, 11 Nov 2002 20:32:30 +0000 (+0000) Subject: Fix #485: Make %z work like %Z inside of %{} in $index_format. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97ca2dc06d42db90b15f3f99cfcf00fd64783071;p=neomutt Fix #485: Make %z work like %Z inside of %{} in $index_format. --- diff --git a/PATCHES b/PATCHES index 9983ec622..298c91bbd 100644 --- 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 diff --git a/hdrline.c b/hdrline.c index ffbaa8806..33c8108ae 100644 --- a/hdrline.c +++ b/hdrline.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1996-2000 Michael R. Elkins + * Copyright (C) 1996-2000,2002 Michael R. Elkins * * 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) {