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
This commit is contained in:
Dan Winship
2000-06-02 19:49:50 +00:00
parent 87593b9797
commit dc11e4ea91
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2000-06-02 Dan Winship <danw@helixcode.com>
* 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

View File

@ -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)