From a9055049f1486dd18c0b877452a6d5c3b9076fe3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 10 Apr 2013 08:49:11 -0700 Subject: [PATCH] Add four more tags Student (training), Instructor (teaching), Photo and Video Signed-off-by: Dirk Hohndel --- dive.h | 6 +++++- statistics.c | 3 ++- 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 {