瀏覽代碼

d.rast.num: window -> region (see https://trac.osgeo.org/grass/changeset/51681)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51683 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父節點
當前提交
fad4f2b0bb
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      display/d.rast.num/main.c

+ 3 - 3
display/d.rast.num/main.c

@@ -171,14 +171,14 @@ int main(int argc, char **argv)
     /* number of rows and cols in window */
     /* number of rows and cols in window */
 
 
     if ((nrows > 75) || (ncols > 75)) {
     if ((nrows > 75) || (ncols > 75)) {
-	G_warning(_("Current window size: %dx%d\n"
-		    "Your current window setting may be too large. "
+	G_warning(_("Current region size: %d rows X %d cols\n"
+		    "Your current region setting may be too large. "
 		    "Cells displayed on your graphics window may be too "
 		    "Cells displayed on your graphics window may be too "
 		    "small for cell category number to be visible."),
 		    "small for cell category number to be visible."),
 		  nrows, ncols);
 		  nrows, ncols);
     }
     }
     if ((nrows > 200) || (ncols > 200)) {
     if ((nrows > 200) || (ncols > 200)) {
-	G_fatal_error(_("Aborting (window larger then 200x200 is not allowed)"));
+	G_fatal_error(_("Aborting (region larger then 200 rows X 200 cols is not allowed)"));
     }
     }
 
 
     /* Setup driver and check important information */
     /* Setup driver and check important information */