[GRASS-SVN] r39202 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 14 10:37:30 EDT 2009
Author: martinl
Date: 2009-09-14 10:37:28 -0400 (Mon, 14 Sep 2009)
New Revision: 39202
Modified:
grass/trunk/vector/v.in.ogr/main.c
Log:
cosmetics in list OGR layers
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2009-09-14 14:00:38 UTC (rev 39201)
+++ grass/trunk/vector/v.in.ogr/main.c 2009-09-14 14:37:28 UTC (rev 39202)
@@ -308,13 +308,10 @@
G_store((char *)OGR_FD_GetName(Ogr_featuredefn));
if (list_flag->answer) {
- if (i > 0)
- fprintf(stdout, ", ");
- fprintf(stdout, "%s", available_layer_names[i]);
+ fprintf(stdout, "%s\n", available_layer_names[i]);
}
}
if (list_flag->answer) {
- fprintf(stdout, "\n");
fflush(stdout);
exit(EXIT_SUCCESS);
}
More information about the grass-commit
mailing list