From: Tobias Oetiker Date: Mon, 4 Jul 2005 18:49:56 +0000 (+0000) Subject: make setting just the size and not the font work -- Havard Eidnes X-Git-Tag: 1.2.11~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=035948036fa65e0c44ad238cbb6e310f7774d384;p=thirdparty%2Frrdtool-1.x.git make setting just the size and not the font work -- Havard Eidnes git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@650 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 0572241c..b5410f34 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3150,7 +3150,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im) 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