[GRASS-SVN] r49749 - grass/trunk/raster/r.in.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 14 10:53:45 EST 2011
Author: hamish
Date: 2011-12-14 07:53:45 -0800 (Wed, 14 Dec 2011)
New Revision: 49749
Modified:
grass/trunk/raster/r.in.gdal/main.c
Log:
if in PERMANENT, also update WIND
Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c 2011-12-14 15:32:16 UTC (rev 49748)
+++ grass/trunk/raster/r.in.gdal/main.c 2011-12-14 15:53:45 UTC (rev 49749)
@@ -141,10 +141,9 @@
flag_e = G_define_flag();
flag_e->key = 'e';
- flag_e->label = _("Extend location extents based on new dataset");
+ flag_e->label = _("Extend region extents based on new dataset");
flag_e->description =
- _("Updates default region if in the PERMANENT mapset, "
- "in other mapsets the current region will be extended");
+ _("Also updates the default region if in the PERMANENT mapset);
flag_f = G_define_flag();
flag_f->key = 'f';
@@ -631,7 +630,8 @@
if (strcmp(G_mapset(), "PERMANENT") == 0) {
G__put_window(&cur_wind, "", "DEFAULT_WIND");
- G_message(_("Default region for this location updated"));
+ G_put_window(&cur_wind);
+ G_message(_("Default and working regions for this location updated"));
}
else {
G_put_window(&cur_wind);
More information about the grass-commit
mailing list