[GRASS-SVN] r54462 - grass/trunk/vector/v.in.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 29 13:26:41 PST 2012


Author: martinl
Date: 2012-12-29 13:26:40 -0800 (Sat, 29 Dec 2012)
New Revision: 54462

Modified:
   grass/trunk/vector/v.in.ascii/points.c
Log:
v.in.ascii: message cosmetics


Modified: grass/trunk/vector/v.in.ascii/points.c
===================================================================
--- grass/trunk/vector/v.in.ascii/points.c	2012-12-29 20:41:00 UTC (rev 54461)
+++ grass/trunk/vector/v.in.ascii/points.c	2012-12-29 21:26:40 UTC (rev 54462)
@@ -161,9 +161,9 @@
 			    }
 			}
 			else {
-			    fprintf(stderr, "Current row: '%s'\n", buf_raw);
-			    G_fatal_error(_("Unparsable longitude value in column <%d>: %s"),
-					  i, tokens[i]);
+                            fprintf(stderr, _("Current row %d:\n%s\n"), row, buf_raw);
+			    G_fatal_error(_("Unparsable longitude value in column num %d: %s"),
+					  i + 1, tokens[i]);
 			}
 		    }
 
@@ -180,8 +180,8 @@
 			    }
 			}
 			else {
-			    fprintf(stderr, "Current row: '%s'\n", buf_raw);
-			    G_fatal_error(_("Unparsable latitude value in column <%d>: %s"),
+			    fprintf(stderr, _("Current row %d:\n%s\n"), row, buf_raw);
+			    G_fatal_error(_("Unparsable latitude value in column num %d: %s"),
 					  i, tokens[i]);
 			}
 		    }



More information about the grass-commit mailing list