From d905b547df426b2f1ef2cc2aa6cdf20c380e10aa Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 2 Feb 2002 14:36:14 +0000 Subject: [PATCH] fixed data pointer storage git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@75 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 0f6f588..f4ad81a 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -803,7 +803,7 @@ printf("DEBUG: value from vdef is %f\n",im->gdes[ptr].vf.val); * further save step size and data source * count of this rra */ - im->gdes[gdi].rpnp[rpi].data = im->gdes[ptr].data; + im->gdes[gdi].rpnp[rpi].data = im->gdes[ptr].data + im->gdes[ptr].ds; im->gdes[gdi].rpnp[rpi].step = im->gdes[ptr].step; im->gdes[gdi].rpnp[rpi].ds_cnt = im->gdes[ptr].ds_cnt; -- 2.11.0