summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06ed47b)
raw | patch | inline | side by side (parent: 06ed47b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 2 Jan 2010 16:33:26 +0000 (16:33 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 2 Jan 2010 16:33:26 +0000 (16:33 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1995 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index ee44c77e3481cbb47aca15ba50f79194489f8e30..45218bc0b722093a1c54f369e0de2c23d55c3360 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
if (im->gdes[vidx].gf == GF_VDEF) {
value = im->gdes[vidx].vf.val;
} else if (((long int)gr_time >= (long int)im->gdes[vidx].start) &&
- ((long int)gr_time <= (long int)im->gdes[vidx].end) ) {
+ ((long int)gr_time < (long int)im->gdes[vidx].end) ) {
value = im->gdes[vidx].data[
(unsigned long) floor(
(double)(gr_time - im->gdes[vidx].start)