Make handling of empty airconsumption string consistent

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-09-16 20:20:28 -07:00
parent 4564d67953
commit 6911229278
2 changed files with 3 additions and 1 deletions

View file

@ -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) {