Code

it there is no right label, do not reserve any space for it
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 26 Dec 2010 19:19:13 +0000 (19:19 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 26 Dec 2010 19:19:13 +0000 (19:19 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 16e8d45f215b8908af884fadbb4f06d9e3be14fb..3f0cce31dad7cfc660d588815365a0c8969e6c57 100644 (file)
@@ -2938,9 +2938,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