mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
squash spaces
This commit is contained in:
parent
e7f192b134
commit
c501130a63
10
storage.c
10
storage.c
@ -1016,11 +1016,11 @@ char *gpx_string(JsonNode *location_array)
|
||||
}
|
||||
|
||||
utstring_printf(xml, " <trkpt lat='%lf' lon='%lf'>\n", lat, lon);
|
||||
utstring_printf(xml, " <time>%s</time>\n", isotst);
|
||||
if ((j = json_find_member(one, "alt")) != NULL) {
|
||||
utstring_printf(xml, " <ele>%.2f</ele>\n", j->number_);
|
||||
}
|
||||
utstring_printf(xml, " </trkpt>\n");
|
||||
utstring_printf(xml, "\t<time>%s</time>\n", isotst);
|
||||
if ((j = json_find_member(one, "alt")) != NULL) {
|
||||
utstring_printf(xml, "\t<ele>%.2f</ele>\n", j->number_);
|
||||
}
|
||||
utstring_printf(xml, "\t</trkpt>\n");
|
||||
}
|
||||
|
||||
utstring_printf(xml, "%s", " </trkseg>\n</trk>\n</gpx>\n");
|
||||
|
Loading…
Reference in New Issue
Block a user