From: oetiker Date: Fri, 23 Sep 2005 23:06:12 +0000 (+0000) Subject: hmpf its the gdef step we are talking about not the image step ! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6cfe0c85f4f584c5f95d3c7b569fbab4f4d5a802;p=rrdtool-all.git hmpf its the gdef step we are talking about not the image step ! git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@690 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 97f6d68b..a4f250c9 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -2740,6 +2740,7 @@ gdes_alloc(image_desc_t *im){ im->gdes[im->gdes_c-1].step=im->step; + im->gdes[im->gdes_c-1].step_orig=im->step; im->gdes[im->gdes_c-1].stack=0; im->gdes[im->gdes_c-1].debug=0; im->gdes[im->gdes_c-1].start=im->start; @@ -2881,7 +2882,6 @@ rrd_graph_init(image_desc_t *im) im->xsize = 400; im->ysize = 100; im->step = 0; - im->step_orig = 0; im->ylegend[0] = '\0'; im->title[0] = '\0'; im->minval = DNAN;