projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use the shorthand for vidx ...
[rrdtool.git]
/
src
/
rrd_graph.c
diff --git
a/src/rrd_graph.c
b/src/rrd_graph.c
index
cb95dd8
..
a23fb10
100644
(file)
--- a/
src/rrd_graph.c
+++ b/
src/rrd_graph.c
@@
-1367,13
+1367,13
@@
print_calc(image_desc_t *im, char ***prdata)
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 */
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*/
};
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;
};
graphelement = 1;
break;