From 8ce4b39d191d7d993e913a988cdf6ed082bd8e7a Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 24 Nov 2011 15:07:23 +0000 Subject: [PATCH] initialize magfact to 1 ... fixes logarithm chart display issues git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2225 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 3f8ee1b..c79248f 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -4158,6 +4158,7 @@ void rrd_graph_init( im->maxval = DNAN; im->minval = 0; im->minval = DNAN; + im->magfact = 1; im->prt_c = 0; im->rigid = 0; im->rendered_image_size = 0; -- 2.11.0