summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/profile.c b/profile.c
index c869d70df..e6b2d5301 100644
--- a/profile.c
+++ b/profile.c
@@ -2122,15 +2122,15 @@ static void plot_string(struct plot_data *entry, char *buf, size_t bufsize,
}
if (partial_pressure_graphs.po2) {
memcpy(buf2, buf, bufsize);
- snprintf(buf, bufsize, "%s\npO" UTF8_SUBSCRIPT_2 ":%.1f", buf2, entry->po2);
+ snprintf(buf, bufsize, "%s\npO" UTF8_SUBSCRIPT_2 ":%.2f", buf2, entry->po2);
}
if (partial_pressure_graphs.pn2) {
memcpy(buf2, buf, bufsize);
- snprintf(buf, bufsize, "%s\npN" UTF8_SUBSCRIPT_2 ":%.1f", buf2, entry->pn2);
+ snprintf(buf, bufsize, "%s\npN" UTF8_SUBSCRIPT_2 ":%.2f", buf2, entry->pn2);
}
if (partial_pressure_graphs.phe) {
memcpy(buf2, buf, bufsize);
- snprintf(buf, bufsize, "%s\npHe:%.1f", buf2, entry->phe);
+ snprintf(buf, bufsize, "%s\npHe:%.2f", buf2, entry->phe);
}
free(buf2);
}