summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 18960fcff..e40ee5bad 100644
--- a/profile.c
+++ b/profile.c
@@ -12,7 +12,7 @@
#include "libdivecomputer/parser.h"
#include "libdivecomputer/version.h"
-int selected_dive = 0;
+int selected_dive = -1; /* careful: 0 is a valid value */
char zoomed_plot = 0;
char dc_number = 0;