diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-04-03 12:52:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-03 12:52:05 -0700 |
commit | 9a0e40b456351f3895f46ae51c4d3ba0b62c74f2 (patch) | |
tree | c10bded9699edea64279028a374709abe5e9c307 /worldmap-save.c | |
parent | 0f5664e584fc402be13754d9ee4ee33e1eca3e25 (diff) | |
download | subsurface-9a0e40b456351f3895f46ae51c4d3ba0b62c74f2.tar.gz |
Random small whitespace cleanups
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'worldmap-save.c')
-rw-r--r-- | worldmap-save.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/worldmap-save.c b/worldmap-save.c index 620c4675c..b1a8ce68d 100644 --- a/worldmap-save.c +++ b/worldmap-save.c @@ -17,8 +17,8 @@ void put_HTML_date(struct membuffer *b, struct dive *dive) { struct tm tm; utc_mkdate(dive->when, &tm); - put_format(b, "<p>date=%04u-%02u-%02u</p>",tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); - put_format(b, "<p>time=%02u:%02u:%02u</p>",tm.tm_hour, tm.tm_min, tm.tm_sec); + put_format(b, "<p>date=%04u-%02u-%02u</p>", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday); + put_format(b, "<p>time=%02u:%02u:%02u</p>", tm.tm_hour, tm.tm_min, tm.tm_sec); } void put_HTML_temp(struct membuffer *b, struct dive *dive) @@ -78,7 +78,7 @@ void put_HTML_notes(struct membuffer *b, struct dive *dive) { if (dive->notes) { char *notes = quote(dive->notes); - put_format(b,"<p>Notes : %s </p>", notes); + put_format(b, "<p>Notes : %s </p>", notes); free(notes); } } @@ -95,7 +95,7 @@ void writeMarkers(struct membuffer *b) continue; put_format(b, "temp = new google.maps.Marker({position: new google.maps.LatLng(%f,%f)});\n", - dive->latitude.udeg/1000000.0, dive->longitude.udeg/1000000.0); + dive->latitude.udeg / 1000000.0, dive->longitude.udeg / 1000000.0); put_string(b, "markers.push(temp);\ntempinfowindow = new google.maps.InfoWindow({content: '<div id=\"content\">'+'<div id=\"siteNotice\">'+'</div>'+'<div id=\"bodyContent\">"); put_HTML_date(b, dive); put_duration(b, dive->duration, "<p>duration=", " min</p>"); @@ -109,8 +109,8 @@ void writeMarkers(struct membuffer *b) void insert_html_header(struct membuffer *b) { - put_string(b,"<!DOCTYPE html>\n<html>\n<head>\n"); - put_string(b,"<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=no\" />\n<title>World Map</title>\n"); + put_string(b, "<!DOCTYPE html>\n<html>\n<head>\n"); + put_string(b, "<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=no\" />\n<title>World Map</title>\n"); } void insert_css(struct membuffer *b) |