From 1937df188a2928478a9012a382ba1360d5e309b7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 16 Sep 2011 16:29:43 -0700 Subject: [PATCH] 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 --- profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile.c b/profile.c index 1fa989d..0add26d 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) { -- 2.45.2