[GRASS-SVN] r40699 - grass/trunk/raster/simwe/simlib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 27 11:32:07 EST 2010


Author: neteler
Date: 2010-01-27 11:32:06 -0500 (Wed, 27 Jan 2010)
New Revision: 40699

Modified:
   grass/trunk/raster/simwe/simlib/output.c
Log:
few updates

Modified: grass/trunk/raster/simwe/simlib/output.c
===================================================================
--- grass/trunk/raster/simwe/simlib/output.c	2010-01-27 15:39:34 UTC (rev 40698)
+++ grass/trunk/raster/simwe/simlib/output.c	2010-01-27 16:32:06 UTC (rev 40699)
@@ -4,13 +4,14 @@
 #include <stdlib.h>
 #include <math.h>
 #include <grass/gis.h>
+#include <grass/raster.h>
 /* #include <grass/site.h> */
 #include <grass/bitmap.h>
 #include <grass/linkm.h>
 
 #include <grass/waterglobs.h>
+#include <grass/glocale.h>
 
-
 int output_data(int tt, double ft)
 {
 
@@ -156,8 +157,7 @@
     }
 
 
-    if (Rast_set_window(&cellhd) < 0)
-	exit(3);
+    Rast_set_window(&cellhd);
 
     if (my != G_window_rows())
 	G_fatal_error("OOPS: rows changed from %d to %d\n", mx,
@@ -625,8 +625,7 @@
     }
 
 
-    if (Rast_set_window(&cellhd) < 0)
-	G_fatal_error("Rast_set_window");
+    Rast_set_window(&cellhd);
 
     if (my != G_window_rows())
 	G_fatal_error("OOPS: rows changed from %d to %d\n", mx,



More information about the grass-commit mailing list