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=1dfaef85d8d72cbcc1bb0e0cb6a9c7734c416187;p=rrdtool-all.git fixed data pointer storage git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@75 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 0f6f588e..f4ad81a7 100644 --- a/program/src/rrd_graph.c +++ b/program/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;