X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=confignt%2Fconfig.h;h=3a7336b047bc9ee0d045f00a4726f8756a982c17;hp=62ebc5466b02b5b4f04e5e08dc3135d582e7b2dc;hb=61d2c5d335a07bc1e558b6eb1593ca04ec0c963f;hpb=e053f3d54f601572593b348610671c533493d02f diff --git a/confignt/config.h b/confignt/config.h index 62ebc54..3a7336b 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -14,15 +14,13 @@ #define rrd_realloc(a,b) realloc((a), (b)) #define snprintf _snprintf -/* Code in rrd_graph.c:rrd_graph_init() uses the %windir% - * environment variable to override this. This should - * avoid the recompile problem if the system directory is - * c:/windows vs. d:/winnt. - * This #define can't be removed because: - * (1) the constant is used outside of rrd_graph_init() to init a struct - * (2) windir might not be available in all environments + +/* Code in rrd_graph.c:rrd_graph_init() uses the %windir% environment + * variable to find the actual location of this relative font path to avoid + * the recompile problem if the system directory is c:/windows vs. d:/winnt. */ -#define RRD_DEFAULT_FONT "c:/windows/fonts/cour.ttf" + +#define RRD_DEFAULT_FONT "cour.ttf" #define RRDGRAPH_YLEGEND_ANGLE 90.0