From: oetiker Date: Thu, 24 Nov 2011 15:07:23 +0000 (+0000) Subject: initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christop... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cbb812d560aab9a0d310d676dd96bf5ccb80020c;p=rrdtool-all.git initialize magfact to 1 ... fixes logarithm chart display issues (patch from Christoph Biedl) #296 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 8c3f8be9..83478951 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -4088,6 +4088,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;