[GRASS-SVN] r52358 - grass/trunk/display/d.mon
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 10 00:57:59 PDT 2012
Author: martinl
Date: 2012-07-10 00:57:58 -0700 (Tue, 10 Jul 2012)
New Revision: 52358
Modified:
grass/trunk/display/d.mon/start.c
Log:
d.mon: add missing GRASS_PNG_READ
Modified: grass/trunk/display/d.mon/start.c
===================================================================
--- grass/trunk/display/d.mon/start.c 2012-07-09 16:42:22 UTC (rev 52357)
+++ grass/trunk/display/d.mon/start.c 2012-07-10 07:57:58 UTC (rev 52358)
@@ -66,6 +66,9 @@
env_fd = creat(env_value, 0666);
if (env_fd < 0)
G_fatal_error(_("Unable to create file '%s'"), env_value);
+
+ sprintf(buf, "GRASS_PNG_READ=TRUE\n");
+ write(env_fd, buf, strlen(buf));
if (width) {
sprintf(buf, "GRASS_WIDTH=%s\n", width);
write(env_fd, buf, strlen(buf));
More information about the grass-commit
mailing list