From 33e2948710a13240fceaeafe142c6f9dbf79becf Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 8 Oct 2009 20:56:03 +0000 Subject: [PATCH] Report input file name, name built-in name --- cmd/smyrna/viewport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 0dc014bdc..e01f49a41 100755 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -58,7 +58,6 @@ static int mapbool(char *p) return TRUE; return atoi(p); } -#endif static Dtdisc_t qDisc = { offsetof(xdot,ops), sizeof(xdot_op*), @@ -70,6 +69,7 @@ static Dtdisc_t qDisc = { NIL(Dtmemory_f), NIL(Dtevent_f) }; +#endif void clear_viewport(ViewInfo * view) @@ -352,7 +352,7 @@ void init_viewport(ViewInfo * view) input_file = fopen(view->template_file, "rb"); if (!input_file) { - fprintf (stderr, "default attributes template graph file \"%s\" not found\n", "c://graphviz-ms//bin//template"); + fprintf (stderr, "default attributes template graph file \"%s\" not found\n", view->template_file); exit(-1); } else if (!(view->default_attributes = agread(input_file, 0))) { -- 2.40.0