summaryrefslogtreecommitdiffstats
path: root/core/display.h
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-11-05 15:56:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-13 20:50:10 -0800
commit1f8506ce645000bd158fcd3b2c9c799505c78bb2 (patch)
treee0a2b81e3198240d8cf16a59ef7ff00054dc5c18 /core/display.h
parentde81effb258c9c55af299ef48e79df4de941b391 (diff)
downloadsubsurface-1f8506ce645000bd158fcd3b2c9c799505c78bb2.tar.gz
Display values in info box only if value is interesting
Type duration_t changed from uint to int. Default value of '-1' introduced for some of the values in struct sample: NDL used -1 as default. Bearing uses -1 as default (no bearing set). Display pXX, EAD, END, density, MOD only if values are larger than 0. In profile don't display data from two first and two last plot_data entries in info box. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core/display.h')
-rw-r--r--core/display.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/display.h b/core/display.h
index 6d74b5c87..b5b6a3938 100644
--- a/core/display.h
+++ b/core/display.h
@@ -25,7 +25,6 @@ struct plot_info {
enum {AIR, NITROX, TRIMIX, FREEDIVING} dive_type;
double endtempcoord;
double maxpp;
- bool has_ndl;
struct plot_data *entry;
};