Browse Source

displaylib: add some debug messages

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47082 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
1306880e9d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/display/r_raster.c

+ 2 - 1
lib/display/r_raster.c

@@ -81,7 +81,7 @@ int read_env_file(const char *path)
 	token = G_tokenize(buf, "=");
 	if (G_number_of_tokens(token) != 2)
 	    continue;
-	
+	G_debug(3, "\tread_env_file(): %s=%s", token[0], token[1]);
 	G_setenv(token[0], token[1]);
 	G_free_tokens(token);
 	token = NULL;
@@ -104,6 +104,7 @@ int D_open_driver(void)
 {
     const char *p, *m;
     
+    G_debug(1, "D_open_driver():");
     p = getenv("GRASS_RENDER_IMMEDIATE");
     m = G__getenv("MONITOR");
     if (m) {