diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-09-24 18:02:07 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-24 08:29:56 -0700 |
commit | 7b891904e77364719471098a7bdf4eacc589807c (patch) | |
tree | 9493f9d13b69fb9d13865a5c1a130f1f8fca4f1f /core/planner.c | |
parent | 2b14a9c95d6179fb4cff352dc20036594c8a5aff (diff) | |
download | subsurface-7b891904e77364719471098a7bdf4eacc589807c.tar.gz |
Rename conservatism_level to vpmb_conservatism
Make the variable purpose less ambiguous
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/planner.c')
-rw-r--r-- | core/planner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/planner.c b/core/planner.c index bbc1599e7..e127cf11e 100644 --- a/core/planner.c +++ b/core/planner.c @@ -565,10 +565,10 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool snprintf(temp, sz_temp, translate("gettextFromC", "based on Bühlmann ZHL-16C with GFlow = %d and GFhigh = %d"), diveplan->gflow, diveplan->gfhigh); } else if (prefs.deco_mode == VPMB){ - if (prefs.conservatism_level == 0) + if (prefs.vpmb_conservatism == 0) snprintf(temp, sz_temp, "%s", translate("gettextFromC", "based on VPM-B at nominal conservatism")); else - snprintf(temp, sz_temp, translate("gettextFromC", "based on VPM-B at +%d conservatism"), prefs.conservatism_level); + snprintf(temp, sz_temp, translate("gettextFromC", "based on VPM-B at +%d conservatism"), prefs.vpmb_conservatism); } else if (prefs.deco_mode == RECREATIONAL){ snprintf(temp, sz_temp, translate("gettextFromC", "recreational mode based on Bühlmann ZHL-16B with GFlow = %d and GFhigh = %d"), diveplan->gflow, diveplan->gfhigh); |