From f7fb74f3a78b4fbf561eb91548cf3e355af9b8b1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 1 Sep 2011 22:18:44 -0700 Subject: [PATCH] Fix wrongly nested watertemp xml entry Too much cut-and-paste: the ending tag said "airtemp". Signed-off-by: Linus Torvalds --- save-xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save-xml.c b/save-xml.c index b91e24e..a155319 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, " ", "\n"); show_depth(f, dive->meandepth, " ", "\n"); show_temperature(f, dive->airtemp, " ", "\n"); - show_temperature(f, dive->watertemp, " ", "\n"); + show_temperature(f, dive->watertemp, " ", "\n"); show_duration(f, dive->duration, " ", "\n"); show_duration(f, dive->surfacetime, " ", "\n"); show_pressure(f, dive->beginning_pressure, " ", "\n"); -- 2.43.0