From e8dc709cbb05fd0e69ca0607acbc10fa13e5fe4a Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 26 Dec 2010 19:19:13 +0000 Subject: [PATCH] it there is no right label, do not reserve any space for it git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index b101b32..d166f07 100644 --- a/src/rrd_graph.c +++ b/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 -- 2.30.2