From: oetiker Date: Sat, 2 Feb 2002 14:36:14 +0000 (+0000) Subject: fixed data pointer storage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d905b547df426b2f1ef2cc2aa6cdf20c380e10aa;p=rrdtool.git fixed data pointer storage git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@75 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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;