[GRASS-SVN] r67823 - grass/branches/releasebranch_7_0/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 13 15:48:42 PST 2016


Author: wenzeslaus
Date: 2016-02-13 15:48:42 -0800 (Sat, 13 Feb 2016)
New Revision: 67823

Modified:
   grass/branches/releasebranch_7_0/lib/gis/adj_cellhd.c
Log:
libgis: tell the value in the bad resolution error message (backport r67154)

Modified: grass/branches/releasebranch_7_0/lib/gis/adj_cellhd.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/adj_cellhd.c	2016-02-13 23:36:22 UTC (rev 67822)
+++ grass/branches/releasebranch_7_0/lib/gis/adj_cellhd.c	2016-02-13 23:48:42 UTC (rev 67823)
@@ -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