Преглед изворни кода

Print timestamp from the first layer

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@50445 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert пре 13 година
родитељ
комит
29346f3b8c
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      vector/v.info/print.c

+ 3 - 3
vector/v.info/print.c

@@ -235,7 +235,7 @@ void print_info(const struct Map_info *Map)
     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 @@ void print_info(const struct Map_info *Map)
     /*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);