From: Dirk Hohndel Date: Fri, 16 Sep 2011 23:29:43 +0000 (-0700) Subject: Stop tank / gas / consumption info from changing info_frame size X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1937df188a2928478a9012a382ba1360d5e309b7;p=ext%2Fsubsurface.git 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 --- 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) {