Code

Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT.
authorjake <jake@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Jul 2003 14:51:46 +0000 (14:51 +0000)
committerjake <jake@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 24 Jul 2003 14:51:46 +0000 (14:51 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@210 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.h

index cf99c8e4e946fed0bd768eefbae447ca1f046a0b..a7467369987acfcc3be0c0694b701ef36acaa908 100644 (file)
@@ -6,7 +6,7 @@
 #include "rrd_gfx.h"
 
 #define MAX_VNAME_LEN 29
-#define DEF_NAM_FMT "%29[_A-Za-z0-9]"
+#define DEF_NAM_FMT "%29[-_A-Za-z0-9]"
 
 #define ALTYGRID       0x01    /* use alternative y grid algorithm */
 #define ALTAUTOSCALE   0x02    /* use alternative algorithm to find lower and upper bounds */