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>
This commit is contained in:
Dirk Hohndel 2011-09-16 16:29:43 -07:00
parent c58da2ee0c
commit 1937df188a

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("");
update_air_info(" \n ");
return;
}
switch (output_units.volume) {