From 3895c7d3d1089bcf68d89390189d96497392df23 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 23 Sep 2005 23:06:12 +0000 Subject: [PATCH] hmpf its the gdef step we are talking about not the image step ! git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@690 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 97f6d68..a4f250c 100644 --- a/src/rrd_graph.c +++ b/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; -- 2.11.0