[GRASS-SVN] r44046 - grass-addons/imagery/i.landsat.acca
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 25 19:08:06 EDT 2010
Author: martinl
Date: 2010-10-25 16:08:06 -0700 (Mon, 25 Oct 2010)
New Revision: 44046
Modified:
grass-addons/imagery/i.landsat.acca/algorithm.c
Log:
fix r44043 (2)
Modified: grass-addons/imagery/i.landsat.acca/algorithm.c
===================================================================
--- grass-addons/imagery/i.landsat.acca/algorithm.c 2010-10-25 23:05:57 UTC (rev 44045)
+++ grass-addons/imagery/i.landsat.acca/algorithm.c 2010-10-25 23:08:06 UTC (rev 44046)
@@ -225,7 +225,7 @@
mapset = G_find_cell2(out->name, "");
if (mapset == NULL)
G_fatal_error(_("Raster map <%s> not found"), out->name);
- if ((out->fd = G_open_new(out->name, CELL_TYPE)) < 0)
+ if ((out->fd = G_open_raster_new(out->name, CELL_TYPE)) < 0)
G_fatal_error(_("Unable to create raster map <%s>"), out->name);
out->rast = G_allocate_raster_buf(CELL_TYPE);
More information about the grass-commit
mailing list