[GRASS-SVN] r50445 - grass/trunk/vector/v.info
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 25 09:42:31 EST 2012
Author: huhabla
Date: 2012-01-25 06:42:31 -0800 (Wed, 25 Jan 2012)
New Revision: 50445
Modified:
grass/trunk/vector/v.info/print.c
Log:
Print timestamp from the first layer
Modified: grass/trunk/vector/v.info/print.c
===================================================================
--- grass/trunk/vector/v.info/print.c 2012-01-25 14:20:48 UTC (rev 50444)
+++ grass/trunk/vector/v.info/print.c 2012-01-25 14:42:31 UTC (rev 50445)
@@ -235,7 +235,7 @@
struct bound_box box;
/*Check the Timestamp */
- time_ok = G_read_vector_timestamp(Vect_get_name(Map), "", &ts);
+ time_ok = G_read_vector_timestamp(Vect_get_name(Map), NULL, "", &ts);
/*Check for valid entries, show none if no timestamp available */
if (time_ok == 1) {
if (ts.count > 0)
@@ -299,10 +299,10 @@
/*This shows the TimeStamp */
if (time_ok == 1 && (first_time_ok || second_time_ok)) {
G_format_timestamp(&ts, timebuff);
- sprintf(line, "%-17s%s", _("Timestamp: "), timebuff);
+ sprintf(line, "%-17s%s", _("Timestamp first layer: "), timebuff);
}
else {
- sprintf(line, "%-17s%s", _("Timestamp: none"), timebuff);
+ sprintf(line, "%-17s%s", _("Timestamp first layer: none"), timebuff);
}
printline(line);
More information about the grass-commit
mailing list