summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 20:20:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 20:20:28 -0700
commit6911229278cda9b59c1ef808c3b2bed7aff64336 (patch)
treef6731981ce02a91d15772d31ad02aad9e47c406a /profile.c
parent4564d67953af9bfa8086c457b26e3b66f1c2718d (diff)
downloadsubsurface-6911229278cda9b59c1ef808c3b2bed7aff64336.tar.gz
Make handling of empty airconsumption string consistent
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 0add26d08..7b3b88333 100644
--- a/profile.c
+++ b/profile.c
@@ -504,7 +504,7 @@ static void plot_info(struct dive *dive, struct graphics_context *gc)
airuse = calculate_airuse(dive);
if (!airuse) {
- update_air_info(" \n ");
+ update_air_info(NULL);
return;
}
switch (output_units.volume) {