소스 검색

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 년 전
부모
커밋
22acc4e568
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)