summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--save-html.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/save-html.c b/save-html.c
index e1116aa77..13bf70c14 100644
--- a/save-html.c
+++ b/save-html.c
@@ -43,15 +43,15 @@ static void put_cylinder_HTML(struct membuffer *b, struct dive *dive)
put_pressure(b, cylinder->type.workingpressure, "\"WPressure\":\"", " bar\",");
if (cylinder->start.mbar) {
- put_milli(b, "\"EPressure\":\"", cylinder->start.mbar, " bar\",");
+ put_milli(b, "\"SPressure\":\"", cylinder->start.mbar, " bar\",");
} else {
- write_attribute(b, "EPressure", "--");
+ write_attribute(b, "SPressure", "--");
}
if (cylinder->end.mbar) {
- put_milli(b, "\"SPressure\":\"", cylinder->end.mbar, " bar\",");
+ put_milli(b, "\"EPressure\":\"", cylinder->end.mbar, " bar\",");
} else {
- write_attribute(b, "SPressure", "--");
+ write_attribute(b, "EPressure", "--");
}
if (cylinder->gasmix.o2.permille) {