diff options
-rw-r--r-- | pith/pine.hlp | 6 | ||||
-rw-r--r-- | pith/save.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp index 3709c3a9..03aa9363 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 315 2018-12-16 13:42:34 +Alpine Commit 324 2019-01-20 18:11:06 ============= h_news ================= <HTML> <HEAD> @@ -275,6 +275,10 @@ Bugs that have been addressed include: <LI> When the locale is not set up to UTF-8, alpine might determine the width of a character incorrectly. Reported by Alexandre Fedotov. + <LI> In some rare cases, when attachments are deleted before saving + emails, the filenames will be displayed in RFC1522 representation, + instead of in decoded form. Reported and patched by Wang Kang. + <LI> When colors are edited from the main setup configuration screen, some color settings are not updated until Alpine is restarted. Reported by Andrew Hill. diff --git a/pith/save.c b/pith/save.c index 28dd3333..83a1d570 100644 --- a/pith/save.c +++ b/pith/save.c @@ -1625,7 +1625,8 @@ save_ex_explain_parts(struct mail_bodystruct *body, int depth, long unsigned int depth, depth, " ", body_type_names(body->type), MAILTMPLEN-300, body->subtype ? body->subtype : "Unknown", name ? " (Name=\"" : "", - name ? name : "", + name ? (char *) rfc1522_decode_to_utf8((unsigned char *)tmp_20k_buf, + SIZEOF_20KBUF, name) : "", name ? "\")" : ""); if(!save_ex_output_line(tmp, len, pc)) return(0); |