summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dive.c b/dive.c
index d6a2b9fd6..d0e7c490f 100644
--- a/dive.c
+++ b/dive.c
@@ -8,6 +8,11 @@
#include "dive.h"
#include "libdivecomputer.h"
+/* one could argue about the best place to have this variable -
+ * it's used in the UI, but it seems to make the most sense to have it
+ * here */
+struct dive displayed_dive;
+
struct tag_entry *g_tag_list = NULL;
static const char *default_tags[] = {