Ver código fonte

r.to.vect: corrected x in the crowded message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60965 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 anos atrás
pai
commit
f0c7d62770
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      raster/r.to.vect/lines.c

+ 1 - 1
raster/r.to.vect/lines.c

@@ -497,7 +497,7 @@ static int update_list(int count)
     default:
 	{
 	    double x, y;
-	    x = Rast_col_to_easting((double)(col + .5), &cell_head);
+	    x = Rast_col_to_easting((double)(col - .5), &cell_head);
 	    y = Rast_row_to_northing((double)(row + .5), &cell_head);
 	    G_message(_("Crowded cell at (%f, %f): row %d, col %d, count %d"),
 		      x, y, row, col - 1, count);