summaryrefslogtreecommitdiffstats
path: root/core/deco.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-05-15 07:42:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-05-15 07:42:14 -0700
commit2feedf46fa86c19095a9f302d1d7a44d3416384d (patch)
treec5555f630309bc6808acbf7b3957346e745dcb65 /core/deco.c
parent1bdf00b2b472078a0b24f1c269782d822cb96e02 (diff)
downloadsubsurface-2feedf46fa86c19095a9f302d1d7a44d3416384d.tar.gz
Cleanup: small coding style fixes
And addressing a cut and paste error in a comment. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/deco.c')
-rw-r--r--core/deco.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/deco.c b/core/deco.c
index b60a787b5..57efc5878 100644
--- a/core/deco.c
+++ b/core/deco.c
@@ -461,8 +461,7 @@ void calc_crushing_pressure(struct deco_state *ds, double pressure)
if (gradient <= vpmb_config.gradient_of_imperm) { // permeable situation
n2_crushing_pressure = he_crushing_pressure = gradient;
ds->crushing_onset_tension[ci] = gas_tension;
- }
- else { // impermeable
+ } else { // impermeable
if (ds->max_ambient_pressure >= pressure)
return;