[GRASS-SVN] r44781 - grass/branches/releasebranch_6_4/vector/v.what
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 29 15:37:47 EST 2010
Author: martinl
Date: 2010-12-29 12:37:47 -0800 (Wed, 29 Dec 2010)
New Revision: 44781
Modified:
grass/branches/releasebranch_6_4/vector/v.what/what.c
Log:
revert r44766
Modified: grass/branches/releasebranch_6_4/vector/v.what/what.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.what/what.c 2010-12-29 20:22:38 UTC (rev 44780)
+++ grass/branches/releasebranch_6_4/vector/v.what/what.c 2010-12-29 20:37:47 UTC (rev 44781)
@@ -71,11 +71,11 @@
north_buf);
}
else {
- fprintf(stdout, "East: %s\nNorth: %s\n", east_buf,
+ fprintf(stdout, "\nEast: %s\nNorth: %s\n", east_buf,
north_buf);
}
if (notty)
- fprintf(stderr, "East: %s\nNorth: %s\n", east_buf,
+ fprintf(stderr, "\nEast: %s\nNorth: %s\n", east_buf,
north_buf);
}
nlines++;
@@ -87,7 +87,7 @@
if (line + area > 0 || G_verbose() >= G_verbose_std()) {
if (script) {
- fprintf(stdout, "\nMap=%s\nMapset=%s\n", Map[i].name,
+ fprintf(stdout, "Map=%s\nMapset=%s\n", Map[i].name,
Map[i].mapset);
}
else {
@@ -114,22 +114,22 @@
type = Vect_read_line(&Map[i], Points, Cats, line);
switch (type) {
case GV_POINT:
- sprintf(buf, "Point");
+ sprintf(buf, "Point\n");
break;
case GV_LINE:
- sprintf(buf, "Line");
+ sprintf(buf, "Line\n");
break;
case GV_BOUNDARY:
- sprintf(buf, "Boundary");
+ sprintf(buf, "Boundary\n");
break;
case GV_FACE:
- sprintf(buf, "Face");
+ sprintf(buf, "Face\n");
break;
case GV_CENTROID:
- sprintf(buf, "Centroid");
+ sprintf(buf, "Centroid\n");
break;
default:
- sprintf(buf, "Unknown");
+ sprintf(buf, "Unknown\n");
}
if (type & GV_LINES) {
if (G_projection() == 3)
@@ -211,7 +211,7 @@
fprintf(stdout, "Length=%f\n", l);
}
else {
- fprintf(stdout, _("Type: %s\n"), buf);
+ fprintf(stdout, _("Type: %s"), buf);
fprintf(stdout, _("Id: %d\n"), line);
if (type & GV_LINES)
fprintf(stdout, _("Length: %f\n"), l);
More information about the grass-commit
mailing list