From 76e93d6f3c1f42b3e796de4bf0deabbcdbc2f26d Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 24 Jul 2003 14:51:46 +0000 Subject: [PATCH] Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@210 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_graph.h b/program/src/rrd_graph.h index cf99c8e4..a7467369 100644 --- a/program/src/rrd_graph.h +++ b/program/src/rrd_graph.h @@ -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 */ -- 2.30.2