aboutsummaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 22:18:44 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 22:18:44 -0700
commitf7fb74f3a78b4fbf561eb91548cf3e355af9b8b1 (patch)
treea01d81b001f9deed74cea3914257697b9b1a6b5e /save-xml.c
parentbafc7e771ed3f7cfa2589772a7ab66821c0bab75 (diff)
downloadsubsurface-f7fb74f3a78b4fbf561eb91548cf3e355af9b8b1.tar.gz
Fix wrongly nested watertemp xml entry
Too much cut-and-paste: the ending tag said "airtemp". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c
index b91e24e8d..a1553193d 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -111,7 +111,7 @@ static void save_overview(FILE *f, struct dive *dive)
show_depth(f, dive->maxdepth, " <maxdepth>", "</maxdepth>\n");
show_depth(f, dive->meandepth, " <meandepth>", "</meandepth>\n");
show_temperature(f, dive->airtemp, " <airtemp>", "</airtemp>\n");
- show_temperature(f, dive->watertemp, " <watertemp>", "</airtemp>\n");
+ show_temperature(f, dive->watertemp, " <watertemp>", "</watertemp>\n");
show_duration(f, dive->duration, " <duration>", "</duration>\n");
show_duration(f, dive->surfacetime, " <surfacetime>", "</surfacetime>\n");
show_pressure(f, dive->beginning_pressure, " <cylinderstartpressure>", "</cylinderstartpressure>\n");