summaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-01-11 00:01:15 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-10 17:27:25 -0800
commite219bc70f863eaaa9b81ba5abc240975a128c904 (patch)
tree682d6d981929420bbabd0021e02db3006c72d96f /save-git.c
parentbfe05b43407c419a32548af20f40e2b9e3bca045 (diff)
downloadsubsurface-e219bc70f863eaaa9b81ba5abc240975a128c904.tar.gz
Refactor dctype -> divemode
... and repair a failed rebase (sorry). Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/save-git.c b/save-git.c
index f9f5943b1..a8f745c30 100644
--- a/save-git.c
+++ b/save-git.c
@@ -355,8 +355,8 @@ static void save_dc(struct membuffer *b, struct dive *dive, struct divecomputer
show_date(b, dc->when);
if (dc->duration.seconds && dc->duration.seconds != dive->dc.duration.seconds)
put_duration(b, dc->duration, "duration ", "min\n");
- if (dc->dctype != OC) {
- put_format(b, "dctype %s\n", dctype_text[dc->dctype]);
+ if (dc->divemode != OC) {
+ put_format(b, "dctype %s\n", divemode_text[dc->divemode]);
put_format(b, "numberofoxygensensors %d\n",dc->no_o2sensors);
}