From 3e124c95f4a3e73110fcea5179c2dd465a8e1847 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/trunk@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 3f8ee1bf..c79248fc 100644 --- a/program/src/rrd_graph.c +++ b/program/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.30.2