]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Fix wrongly nested watertemp xml entry
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Sep 2011 05:18:44 +0000 (22:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Sep 2011 05:18:44 +0000 (22:18 -0700)
Too much cut-and-paste: the ending tag said "airtemp".

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
save-xml.c

index b91e24e8d57bcb97e8ab68299bad8f55d9461696..a1553193d63965212a13f16def8be0f323b0a011 100644 (file)
@@ -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");