Browse Source

libgis: tell the value in the bad resolution error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67154 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 years ago
parent
commit
22acc4e568
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/gis/adj_cellhd.c

+ 1 - 1
lib/gis/adj_cellhd.c

@@ -39,7 +39,7 @@ void G_adjust_Cell_head(struct Cell_head *cellhd, int row_flag, int col_flag)
 {
     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)