summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-10 08:49:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-10 08:49:11 -0700
commita9055049f1486dd18c0b877452a6d5c3b9076fe3 (patch)
treed0cb4eb848345cfe8b6bacac1e1cd8b5c7c19f78
parent5778d090a496dad80ab6783d58926034103108fb (diff)
downloadsubsurface-a9055049f1486dd18c0b877452a6d5c3b9076fe3.tar.gz
Add four more tags
Student (training), Instructor (teaching), Photo and Video Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--dive.h6
-rw-r--r--statistics.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/dive.h b/dive.h
index de0c58fca..97fcd2a87 100644
--- a/dive.h
+++ b/dive.h
@@ -45,7 +45,11 @@
#define DTAG_NIGHT (1 << 13)
#define DTAG_FRESH (1 << 14)
#define DTAG_FRESH_NR 14
-#define DTAG_NR 15
+#define DTAG_STUDENT (1 << 15)
+#define DTAG_INSTRUCTOR (1 << 16)
+#define DTAG_PHOTO (1 << 17)
+#define DTAG_VIDEO (1 << 18)
+#define DTAG_NR 19
/* defined in statistics.c */
extern char *dtag_names[DTAG_NR];
diff --git a/statistics.c b/statistics.c
index 52477468b..b8245fe7f 100644
--- a/statistics.c
+++ b/statistics.c
@@ -20,7 +20,8 @@
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_("river"), N_("night"), N_("freshwater"), N_("training"), N_("teaching"),
+ N_("photo"), N_("video")
};
typedef struct {