From 11d051537616f88c487582a0653b572aca5a2cb7 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 5 Mar 2017 15:28:56 +0200 Subject: [PATCH] mu: allow for negative first param in sexp date spec The first parameter xx in a (:date xx yy zz) can be negative in some cases, e.g. to specify pre-1970 dates. --- lib/mu-msg-sexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mu-msg-sexp.c b/lib/mu-msg-sexp.c index f403bc86..3e2f764f 100644 --- a/lib/mu-msg-sexp.c +++ b/lib/mu-msg-sexp.c @@ -494,7 +494,7 @@ append_sexp_date_and_size (GString *gstr, MuMsg *msg) g_string_append_printf (gstr, - "\t:date (%u %u 0)\n\t:size %u\n", + "\t:date (%d %u 0)\n\t:size %u\n", (unsigned)(t >> 16), (unsigned)(t & 0xffff), (unsigned)s);