[GRASS-SVN] r67154 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 15 11:16:55 PST 2015


Author: wenzeslaus
Date: 2015-12-15 11:16:55 -0800 (Tue, 15 Dec 2015)
New Revision: 67154

Modified:
   grass/trunk/lib/gis/adj_cellhd.c
Log:
libgis: tell the value in the bad resolution error message

Modified: grass/trunk/lib/gis/adj_cellhd.c
===================================================================
--- grass/trunk/lib/gis/adj_cellhd.c	2015-12-15 16:42:36 UTC (rev 67153)
+++ grass/trunk/lib/gis/adj_cellhd.c	2015-12-15 19:16:55 UTC (rev 67154)
@@ -39,7 +39,7 @@
 {
     if (!row_flag) {
 	if (cellhd->ns_res <= 0)
-	    G_fatal_error(_("Illegal n-s resolution value"));
+	    G_fatal_error(_("Illegal n-s resolution value <%lf>"), cellhd->ns_res);
     }
     else {
 	if (cellhd->rows <= 0)



More information about the grass-commit mailing list