From 7af0c057596fb901569e28a83ef255e1c61d429e Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 1 Nov 2010 20:51:34 +0000 Subject: [PATCH] Remove remnants of .dot from plugin --- plugin/core/gvrender_core_pic.c | 2 +- plugin/core/gvrender_core_vml.c | 2 +- plugin/xlib/vimdot.1 | 2 +- plugin/xlib/vimdot.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/core/gvrender_core_pic.c b/plugin/core/gvrender_core_pic.c index c9bd40984..355f19c81 100644 --- a/plugin/core/gvrender_core_pic.c +++ b/plugin/core/gvrender_core_pic.c @@ -163,7 +163,7 @@ static void pic_set_style(GVJ_t *job, char **s) p++; p++; while (*p) { - if (!strcmp(line, "setlinewidth")) { /* a hack to handle the user-defined (PS) style spec in proc3d.dot */ + if (!strcmp(line, "setlinewidth")) { /* a hack to handle the user-defined (PS) style spec in proc3d.gv */ long n = atol(p); sprintf(buf, diff --git a/plugin/core/gvrender_core_vml.c b/plugin/core/gvrender_core_vml.c index 005e3caf7..85789c41e 100644 --- a/plugin/core/gvrender_core_vml.c +++ b/plugin/core/gvrender_core_vml.c @@ -405,7 +405,7 @@ static void vml_textpara(GVJ_t * job, pointf p, textpara_t * para) /* text "y" was too high * Graphviz uses "baseline", VML seems to use bottom of descenders - so we fudge a little * (heuristics - based on eyeballs) */ - if (para->fontsize <12.){ /* see graphs/directed/arrows.dot */ + if (para->fontsize <12.){ /* see graphs/directed/arrows.gv */ p1.y+=1.4+para->fontsize/5; /* adjust by approx. descender */ p2.y+=1.4+para->fontsize/5; /* adjust by approx. descender */ }else{ diff --git a/plugin/xlib/vimdot.1 b/plugin/xlib/vimdot.1 index b38eeabc5..35ba5520c 100644 --- a/plugin/xlib/vimdot.1 +++ b/plugin/xlib/vimdot.1 @@ -11,7 +11,7 @@ vimdot \- Combined text editor and dot viewer dot output of the edited file. The dot output window automatically refreshes everytime the file is saved in the editor. .PP -If no filename is given, vimdot will use 'noname.dot' and initialise it with an example graph to get you +If no filename is given, vimdot will use 'noname.gv' and initialise it with an example graph to get you started. .PP The GUI window (provided by "dot -Txlib") supports zooming using the mouse scroll-wheel, and panning by holding the scroll-wheel down and dragging. diff --git a/plugin/xlib/vimdot.sh b/plugin/xlib/vimdot.sh index 3c3f6da3f..2ab294106 100755 --- a/plugin/xlib/vimdot.sh +++ b/plugin/xlib/vimdot.sh @@ -10,7 +10,7 @@ done if test -z "$prog"; then error "the editor not found"; fi -default="noname.dot" +default="noname.gv" if test -z "$1"; then if test -s "$default"; then -- 2.40.0