From cbb812d560aab9a0d310d676dd96bf5ccb80020c 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 (patch from Christoph Biedl) #296 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2225 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2