From dc11e4ea911bf1543d4dd7421ba1f8decdc4e1cf Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 2 Jun 2000 19:49:50 +0000 Subject: [PATCH] If the date in the summary is 0, output "?". * message-list.c (filter_date): If the date in the summary is 0, output "?". svn path=/trunk/; revision=3400 --- mail/ChangeLog | 3 +++ mail/message-list.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index e7cd180fc1..54915334b7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2000-06-02 Dan Winship + * message-list.c (filter_date): If the date in the summary is 0, + output "?". + * component-factory.c (create_view): keep a GList of folder browsers created (owner_unset_cb): Go through the list and close each folder before diff --git a/mail/message-list.c b/mail/message-list.c index ddba5e04ad..6bede24743 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -438,6 +438,9 @@ filter_date (const void *data) time_t date = GPOINTER_TO_INT (data); char buf[26], *p; + if (date == 0) + return g_strdup ("?"); + ctime_r (&date, buf); p = strchr (buf, '\n'); if (p)