[GRASS-SVN] r47081 - grass/trunk/lib/display
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 9 13:19:34 EDT 2011
Author: martinl
Date: 2011-07-09 10:19:34 -0700 (Sat, 09 Jul 2011)
New Revision: 47081
Modified:
grass/trunk/lib/display/r_raster.c
Log:
displaylib: setenv() -> G_setenv()
Modified: grass/trunk/lib/display/r_raster.c
===================================================================
--- grass/trunk/lib/display/r_raster.c 2011-07-09 17:10:00 UTC (rev 47080)
+++ grass/trunk/lib/display/r_raster.c 2011-07-09 17:19:34 UTC (rev 47081)
@@ -82,7 +82,7 @@
if (G_number_of_tokens(token) != 2)
continue;
- setenv(token[0], token[1], 1);
+ G_setenv(token[0], token[1]);
G_free_tokens(token);
token = NULL;
}
@@ -123,9 +123,9 @@
if (v) {
if (p && G_strcasecmp(p, "ps") == 0)
- setenv("GRASS_PSFILE", v, 1);
+ G_setenv("GRASS_PSFILE", v);
else
- setenv("GRASS_PNGFILE", v, 1);
+ G_setenv("GRASS_PNGFILE", v);
}
G_asprintf(&env, "MONITOR_%s_ENVFILE", m);
More information about the grass-commit
mailing list