summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8eb921b)
raw | patch | inline | side by side (parent: 8eb921b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Apr 2007 05:41:50 +0000 (05:41 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 10 Apr 2007 05:41:50 +0000 (05:41 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index cb95dd8983735a2721bfc58b14182ab75fd10b71..a23fb107472d8a678f538cdb429cf8f33523d6d5 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
break;
case GF_HRULE:
if(isnan(im->gdes[i].yrule)) { /* we must set this here or the legend printer can not decide to print the legend */
- im->gdes[i].yrule=im->gdes[im->gdes[i].vidx].vf.val;
+ im->gdes[i].yrule=im->gdes[vidx].vf.val;
};
graphelement = 1;
break;
case GF_VRULE:
if(im->gdes[i].xrule == 0) { /* again ... the legend printer needs it*/
- im->gdes[i].xrule = im->gdes[im->gdes[i].vidx].vf.when;
+ im->gdes[i].xrule = im->gdes[vidx].vf.when;
};
graphelement = 1;
break;