mirror of
https://github.com/djcb/mu.git
synced 2024-06-22 07:06:48 +02:00
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:
parent
ff94595fad
commit
11d0515376
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user