Steven wrote:

> >If you want to try the attached patch to mhshowsbr.c,
>
> I'd be happy to, but (ironically in this context :-) I'm not seeing the
> attachment.

Because I didn't attach it :-/  It's attached to this message.

David
diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c
index fccf3c18..956dabfb 100644
--- a/uip/mhshowsbr.c
+++ b/uip/mhshowsbr.c
@@ -980 +980 @@ parse_display_string (CT ct, char *cp, int *xstdin, int *xlist,
-		while ((pp = strchr (pp, '\'')) && buflen > 3) {
+		while ((pp = strchr (pp, '\'')) && buflen > 5) {
@@ -987,2 +987,2 @@ parse_display_string (CT ct, char *cp, int *xstdin, int *xlist,
-			memmove (pp + 2, pp, len);
-			*pp++ = '\\';
+			memmove (pp + 4, pp, len);
+			*pp++ = '"';
@@ -990,2 +990,4 @@ parse_display_string (CT ct, char *cp, int *xstdin, int *xlist,
-			buflen -= 2;
-			bp += 2;
+			*pp++ = '"';
+			*pp++ = '\'';
+			buflen -= 4;
+			bp += 4;
-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to