From 1dfaef85d8d72cbcc1bb0e0cb6a9c7734c416187 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@75 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2