From b3b69ab5c0a2811c063c0a5cbc36ef630f495478 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 29 Mar 2013 04:15:57 +0000 Subject: src/quote_fmt_parse.y: insert current date with %d for a new message. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3241 ee746299-78ed-0310-b773-934348b2243d --- src/quote_fmt_parse.y | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/quote_fmt_parse.y b/src/quote_fmt_parse.y index 15b2359a..336b481a 100644 --- a/src/quote_fmt_parse.y +++ b/src/quote_fmt_parse.y @@ -178,8 +178,14 @@ special: } | SHOW_DATE { - if (msginfo->date) + if (msginfo->date) { INSERT(msginfo->date); + } else if (msginfo->size == 0) { + gchar buf[64]; + + get_rfc822_date(buf, sizeof(buf)); + INSERT(buf); + } } | SHOW_FROM { -- cgit v1.2.3