summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8162a06)
raw | patch | inline | side by side (parent: 8162a06)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 10 Apr 2005 11:31:32 +0000 (11:31 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 10 Apr 2005 11:31:32 +0000 (11:31 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@380 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 67fce90cb304134558c3ffb80c348ad71323d852..a8bbf108f04cb388bfa66ecbe39062d544688a60 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
{
char *deffont;
deffont = getenv("RRD_DEFAULT_FONT");
- /* %windir% is something like D:\windows or C:\winnt */
if (deffont != NULL) {
for(i=0;i<DIM(text_prop);i++){
strncpy(text_prop[i].font,deffont,sizeof(text_prop[i].font)-1);