From c69327f4e8c2eda38c393a8ddf9cc1bce1f9227a Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 16 Nov 2007 22:22:56 +0000 Subject: [PATCH] nodename focus must be in single quotes --- lib/common/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index c9c6d5623..7e90bb7db 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1972,7 +1972,7 @@ static void init_job_viewport(GVJ_t * job, graph_t * g) /* user can override */ if ((str = agget(g, "viewport"))) { nodename = malloc(strlen(str)+1); - rv = sscanf(str, "%lf,%lf,%lf,%[^\"]", &X, &Y, &Z, nodename); + rv = sscanf(str, "%lf,%lf,%lf,\'%[^\']\'", &X, &Y, &Z, nodename); if (rv == 4) { n = agfindnode(g->root, nodename); if (n) { -- 2.50.1