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.verplant.org/?a=commitdiff_plain;h=e81e441fd8b80f7b9adbf9e0614063b75256cbfc;p=rrdtool.git Allow hyphen character in DEF_NAM_FMT to match DS_NAM_FMT. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@210 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.h b/src/rrd_graph.h index cf99c8e..a746736 100644 --- a/src/rrd_graph.h +++ b/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 */