mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 13:36:16 +00:00
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:
parent
c58da2ee0c
commit
1937df188a
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ static void plot_info(struct dive *dive, struct graphics_context *gc)
|
||||||
|
|
||||||
airuse = calculate_airuse(dive);
|
airuse = calculate_airuse(dive);
|
||||||
if (!airuse) {
|
if (!airuse) {
|
||||||
update_air_info("");
|
update_air_info(" \n ");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (output_units.volume) {
|
switch (output_units.volume) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue