]> diplodocus.org Git - nmh/commitdiff
Fix bug in error message when reporting character set conversion failure.
authorKen Hornstein <kenh@pobox.com>
Thu, 10 Apr 2014 18:09:18 +0000 (14:09 -0400)
committerKen Hornstein <kenh@pobox.com>
Thu, 10 Apr 2014 18:09:18 +0000 (14:09 -0400)
uip/mhshowsbr.c

index e3b8d6b..7454d18 100644 (file)
@@ -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 {
             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));
         }
                       ct->c_partno  ?  ct->c_partno  :  "",
                       content_charset (ct));
         }