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.
This commit is contained in:
@ -494,7 +494,7 @@ append_sexp_date_and_size (GString *gstr, MuMsg *msg)
|
|||||||
|
|
||||||
g_string_append_printf
|
g_string_append_printf
|
||||||
(gstr,
|
(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 >> 16),
|
||||||
(unsigned)(t & 0xffff),
|
(unsigned)(t & 0xffff),
|
||||||
(unsigned)s);
|
(unsigned)s);
|
||||||
|
|||||||
Reference in New Issue
Block a user