Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
22acc4e568
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 (!row_flag) {
 	if (cellhd->ns_res <= 0)
 	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 {
     else {
 	if (cellhd->rows <= 0)
 	if (cellhd->rows <= 0)