From: oetiker Date: Sun, 26 Dec 2010 19:19:13 +0000 (+0000) Subject: it there is no right label, do not reserve any space for it X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9957ad325ea9eeae11608f0fc26b93b3da3a416d;p=rrdtool-all.git it there is no right label, do not reserve any space for it git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index b101b329..d166f073 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -2954,9 +2954,6 @@ int graph_size_location( if (im->second_axis_legend[0] != '\0') { Xvertical2 = im->text_prop[TEXT_PROP_UNIT].size * 2; } - else{ - Xvertical2 = Xspacing; - } if (im->title[0] != '\0') { /* The title is placed "inbetween" two text lines so it