summaryrefslogtreecommitdiffstats
path: root/core/dive.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/dive.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/dive.c')
-rw-r--r--core/dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index d20350a80..ed0c5a757 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -1340,7 +1340,7 @@ static void fixup_surface_pressure(struct dive *dive)
/* if the surface pressure in the dive data is redundant to the calculated
* value (i.e., it was added by running fixup on the dive) return 0,
- * otherwise return the air temperature given in the dive */
+ * otherwise return the surface pressure given in the dive */
pressure_t un_fixup_surface_pressure(const struct dive *d)
{
pressure_t res = d->surface_pressure;