diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/profile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c index 1d1a246cc..61277b6be 100644 --- a/core/profile.c +++ b/core/profile.c @@ -1417,8 +1417,11 @@ static void plot_string(struct plot_info *pi, struct plot_data *entry, struct me put_format_loc(b, translate("gettextFromC", "SAC: %.*f%s/min\n"), decimals, sacvalue, unit); if (entry->cns) put_format_loc(b, translate("gettextFromC", "CNS: %u%%\n"), entry->cns); - if (prefs.pp_graphs.po2 && entry->pressures.o2 > 0) + if (prefs.pp_graphs.po2 && entry->pressures.o2 > 0) { put_format_loc(b, translate("gettextFromC", "pO₂: %.2fbar\n"), entry->pressures.o2); + if (entry->scr_OC_pO2.mbar) + put_format_loc(b, translate("gettextFromC", "SCR ΔpO2: %.2fbar\n"), entry->scr_OC_pO2.mbar/1000.0 - entry->pressures.o2); + } if (prefs.pp_graphs.pn2 && entry->pressures.n2 > 0) put_format_loc(b, translate("gettextFromC", "pN₂: %.2fbar\n"), entry->pressures.n2); if (prefs.pp_graphs.phe && entry->pressures.he > 0) |