summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-29 13:13:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-29 13:18:13 -0700
commit56395b38946d4b7de9e485098e928e8e432ef920 (patch)
tree3757c7fce14ffd1ad6c68cdbd899e9c49979d2c5 /helpers.h
parent45725d1c3036e0df16e437b1c3ac14703f0a780c (diff)
downloadsubsurface-56395b38946d4b7de9e485098e928e8e432ef920.tar.gz
Don't assume that pressures are always positive
When planning a dive, the dive could use more gas than is in the cylinder. So getting a negative end pressure is a useful indication to the user that there plan might not be a good one. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.h b/helpers.h
index e4bc1c6b4..fbcf2895f 100644
--- a/helpers.h
+++ b/helpers.h
@@ -19,7 +19,7 @@ QString get_weight_unit();
QString get_cylinder_used_gas_string(cylinder_t *cyl, bool showunit = false);
QString get_temperature_string(temperature_t temp, bool showunit = false);
QString get_temp_unit();
-QString get_volume_string(volume_t volume, bool showunit = false, unsigned int mbar = 0);
+QString get_volume_string(volume_t volume, bool showunit = false, int mbar = 0);
QString get_volume_unit();
QString get_pressure_string(pressure_t pressure, bool showunit = false);
QString get_pressure_unit();