diff options
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index 0894669a15..a93b63728c 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -762,9 +762,9 @@ void em_format_default_headers(EMFormat *emf) { int i; - + em_format_clear_headers(emf); - for (i=0;i<sizeof(default_headers)/sizeof(default_headers[0]);i++) + for (i = 0; i < G_N_ELEMENTS (default_headers) - 1; i++) em_format_add_header(emf, default_headers[i].name, default_headers[i].flags); } |