summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8d0663)
raw | patch | inline | side by side (parent: b8d0663)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 4 Jul 2005 18:49:56 +0000 (18:49 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 4 Jul 2005 18:49:56 +0000 (18:49 +0000) |
program/src/rrd_graph.c | patch | blob | history |
index 0572241cd2b37357c584efb13a047b0c8b196554..b5410f34930520bf0710c908575920760e1121d1 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
if(sscanf(optarg,
"%10[A-Z]:%lf:%1000s",
- prop,&size,font) == 3){
+ prop,&size,font) >= 2){
int sindex,propidx;
if((sindex=text_prop_conv(prop)) != -1){
for (propidx=sindex;propidx<TEXT_PROP_LAST;propidx++){