[GRASS-SVN] r60604 - grass/branches/releasebranch_7_0/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 30 02:19:10 PDT 2014
Author: martinl
Date: 2014-05-30 02:19:10 -0700 (Fri, 30 May 2014)
New Revision: 60604
Modified:
grass/branches/releasebranch_7_0/lib/gis/verbose.c
Log:
libgis: fix G_set_verbose (missing initialization)
(merge r60490 from trunk)
Modified: grass/branches/releasebranch_7_0/lib/gis/verbose.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/verbose.c 2014-05-30 09:10:46 UTC (rev 60603)
+++ grass/branches/releasebranch_7_0/lib/gis/verbose.c 2014-05-30 09:19:10 UTC (rev 60604)
@@ -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