summaryrefslogtreecommitdiff
path: root/pith/mailindx.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-12-21 19:01:28 -0700
committerEduardo Chappa <chappa@washington.edu>2016-12-21 19:01:28 -0700
commit6446b87105b0bd55e3842b0625b21b451769f8c1 (patch)
tree47a07ba15141f41a3ab10552f00820a88f19d1e5 /pith/mailindx.c
parent12be46a5f66c34129cae2819c634e9a98e31113c (diff)
downloadalpine-6446b87105b0bd55e3842b0625b21b451769f8c1.tar.xz
* small addition for new SMARTTIME24 token.
Diffstat (limited to 'pith/mailindx.c')
-rw-r--r--pith/mailindx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pith/mailindx.c b/pith/mailindx.c
index efa6854d..c085018f 100644
--- a/pith/mailindx.c
+++ b/pith/mailindx.c
@@ -4993,11 +4993,8 @@ date_str(char *datesrc, IndexColType type, int v, char *str, size_t str_len,
? month_abbrev_locale(d.month) : "???", sizeof(monabb));
monabb[sizeof(monabb)-1] = '\0';
- if(d.day >= 1 && d.day <= 31){
+ if(d.day >= 1 && d.day <= 31)
snprintf(dayzero, sizeof(dayzero), "%*d", 2, d.day);
-// if(d.day < 10)
-// dayzero[0] = ' ';
- }
else{
strncpy(dayzero, "??", sizeof(dayzero));
dayzero[sizeof(dayzero)-1] = '\0';