From: Ken Hornstein Date: Thu, 10 Apr 2014 18:09:18 +0000 (-0400) Subject: Fix bug in error message when reporting character set conversion failure. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/64382683f7425bda734357c421697ef4a8fdc550?ds=inline Fix bug in error message when reporting character set conversion failure. --- diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index e3b8d6bb..7454d182 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -362,8 +362,8 @@ show_content_aux (CT ct, int alternate, char *cp, char *cracked) if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK) return NOTOK; } else { - admonish (NULL, "unable to convert character set%s to %s", - ct->c_partno ? "of part " : "", + admonish (NULL, "unable to convert character set%s%s to %s", + ct->c_partno ? " of part " : "", ct->c_partno ? ct->c_partno : "", content_charset (ct)); }