]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Stop tank / gas / consumption info from changing info_frame size
authorDirk Hohndel <dirk@hohndel.org>
Fri, 16 Sep 2011 23:29:43 +0000 (16:29 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Fri, 16 Sep 2011 23:29:43 +0000 (16:29 -0700)
Simply set it to an empty string with TWO lines when there is nothing to
display

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
profile.c

index 1fa989dd15e22853a5405e7c35e6e977933d673c..0add26d0844d98fb824f669c4c0593d360d4e8b7 100644 (file)
--- 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) {