[GRASS-SVN] r60490 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 26 04:53:50 PDT 2014
Author: martinl
Date: 2014-05-26 04:53:50 -0700 (Mon, 26 May 2014)
New Revision: 60490
Modified:
grass/trunk/lib/gis/verbose.c
Log:
libgis: fix G_set_verbose (missing initialization)
Modified: grass/trunk/lib/gis/verbose.c
===================================================================
--- grass/trunk/lib/gis/verbose.c 2014-05-25 22:19:45 UTC (rev 60489)
+++ grass/trunk/lib/gis/verbose.c 2014-05-26 11:53:50 UTC (rev 60490)
@@ -117,6 +117,9 @@
{
if (level == -1 || (level >= MINLEVEL && level <= MAXLEVEL)) {
st->verbose = level;
+ if (!G_is_initialized(&(st->initialized)))
+ G_initialize_done(&(st->initialized));
+
return 1;
}
More information about the grass-commit
mailing list