From: Matthew Fernandez Date: Mon, 15 Mar 2021 00:33:03 +0000 (-0700) Subject: fix comment used in PIC files by plugin back end X-Git-Tag: 2.47.1~38^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1aef9ef22ce7b0d29945c44627fe2075bb2563d5;p=graphviz fix comment used in PIC files by plugin back end The PIC plugin seems to have copied some details from the core PIC implementation (lib/common/picgen.c) without noticing that the core implementation juggles its comment format to emit PIC comments on pages and only use TROFF comments at the top level. Related to #131. --- diff --git a/plugin/core/gvrender_core_pic.c b/plugin/core/gvrender_core_pic.c index 2e1b31ab7..9bf5628b4 100644 --- a/plugin/core/gvrender_core_pic.c +++ b/plugin/core/gvrender_core_pic.c @@ -56,7 +56,7 @@ static double Fontscale; The first approach is used here. */ -static const char *EscComment = ".\\\" "; /* troff comment */ +static const char EscComment[] = "# "; /* PIC comment */ static const char picgen_msghdr[] = "dot pic plugin: "; static void unsupported(char *s)