X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph_helper.c;h=44b115905749e3eefdb974b968034a06f910a3dc;hp=4847812c36186ebfa7815e72b7df5546dfd357dc;hb=6533d8056c4251d86582ad7fc4c675067042ca35;hpb=482e470e5a6ab434ac17a92e35d275658b6b6e2f diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index 4847812..44b1159 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -163,10 +163,10 @@ rrd_parse_print(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc_t } if (rrd_parse_legend(line,eaten,gdp)) return 1; - - /* Why is there a separate structure member "format" ??? */ + /* for *PRINT the legend itself gets renderd later. We only + get the format at this juncture */ strcpy(gdp->format,gdp->legend); - + gdp->legend[0]='\0'; return 0; }