aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-14 21:52:55 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-14 21:52:55 -0400
commitd00c16d4eef4c9f37620a0042645013610de4d2a (patch)
treeb2d0ad428a7be463be21037d6de5c696d9bf485d
parentbba99277a875f42ac1c5a895a8c3ed336bd90280 (diff)
downloadsubsurface-d00c16d4eef4c9f37620a0042645013610de4d2a.tar.gz
Add tag for deco dives
Fixes #85 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--dive.h3
-rw-r--r--statistics.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/dive.h b/dive.h
index 3eebff128..cdd3e2770 100644
--- a/dive.h
+++ b/dive.h
@@ -47,7 +47,8 @@
#define DTAG_INSTRUCTOR (1 << 16)
#define DTAG_PHOTO (1 << 17)
#define DTAG_VIDEO (1 << 18)
-#define DTAG_NR 19
+#define DTAG_DECO (1 << 19)
+#define DTAG_NR 20
/* defined in statistics.c */
extern char *dtag_names[DTAG_NR];
extern int dtag_shown[DTAG_NR];
diff --git a/statistics.c b/statistics.c
index eb3a32117..a60c6e404 100644
--- a/statistics.c
+++ b/statistics.c
@@ -20,7 +20,7 @@ char *dtag_names[DTAG_NR] = {
N_("invalid"), N_("boat"), N_("shore"), N_("drift"), N_("deep"), N_("cavern"),
N_("ice"), N_("wreck"), N_("cave"), N_("altitude"), N_("pool"), N_("lake"),
N_("river"), N_("night"), N_("freshwater"), N_("training"), N_("teaching"),
- N_("photo"), N_("video")
+ N_("photo"), N_("video"), N_("deco")
};
static stats_t stats;