diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
commit | 2feedf46fa86c19095a9f302d1d7a44d3416384d (patch) | |
tree | c5555f630309bc6808acbf7b3957346e745dcb65 /core/divelist.c | |
parent | 1bdf00b2b472078a0b24f1c269782d822cb96e02 (diff) | |
download | subsurface-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/divelist.c')
-rw-r--r-- | core/divelist.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/divelist.c b/core/divelist.c index 9ae87a328..bd29b9fda 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -582,8 +582,7 @@ int init_decompression(struct deco_state *ds, struct dive *dive) printf("Tissues after init:\n"); dump_tissues(ds); #endif - } - else { + } else { surface_time = pdive->when - last_endtime; if (surface_time < 0) { #if DECO_CALC_DEBUG & 2 @@ -620,8 +619,7 @@ int init_decompression(struct deco_state *ds, struct dive *dive) printf("Tissues after no previous dive, surface time set to 48h:\n"); dump_tissues(ds); #endif - } - else { + } else { surface_time = dive->when - last_endtime; if (surface_time < 0) { #if DECO_CALC_DEBUG & 2 |