summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 16:29:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 16:29:43 -0700
commit1937df188a2928478a9012a382ba1360d5e309b7 (patch)
tree64a5df99fdcb68307b67925c54888b203f639ca1 /profile.c
parentc58da2ee0c440c86281ab880a6a6d5d159981542 (diff)
downloadsubsurface-1937df188a2928478a9012a382ba1360d5e309b7.tar.gz
Stop tank / gas / consumption info from changing info_frame size
Simply set it to an empty string with TWO lines when there is nothing to display 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 1fa989dd1..0add26d08 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("");
+ update_air_info(" \n ");
return;
}
switch (output_units.volume) {