From: jake Date: Thu, 24 Jul 2003 14:51:46 +0000 (+0000) Subject: Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=76e93d6f3c1f42b3e796de4bf0deabbcdbc2f26d;p=rrdtool-all.git 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 --- 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 */