From a57bc62667ff447309c0ed2d1a14aa387261bcfb Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 28 Nov 2011 07:38:54 +0000 Subject: [PATCH] It seems that function graph_size_location() doesn't call xtr(im, 0) if (im->extra_flags & ONLY_GRAPH) != 0. Therefore, static variable pixie in function xtr() remains uninitialized (fix for #322). -- u00mp yandex.ru git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2228 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index c79248f..aa561f6 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2943,6 +2943,7 @@ int graph_size_location( im->ximg = im->xsize; im->yimg = im->ysize; im->yorigin = im->ysize; + xtr(im, 0); ytr(im, DNAN); return 0; } -- 2.11.0