summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f62f46d)
raw | patch | inline | side by side (parent: f62f46d)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 3 Apr 2005 09:37:08 +0000 (09:37 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 3 Apr 2005 09:37:08 +0000 (09:37 +0000) |
it through printf.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@330 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@330 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_graph_helper.c | patch | blob | history |
index 4847812c36186ebfa7815e72b7df5546dfd357dc..44b115905749e3eefdb974b968034a06f910a3dc 100644 (file)
@@ -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;
}