summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 12:05:21 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 12:05:21 -0800
commitff5fa70a88d2ac0c424a1f1a994837ebe7e27d9d (patch)
treea226397bac03cb6928d761a96c23a32d11593dee /dive.h
parentd936c55a015789f61f7e93426b11218ebb4312af (diff)
downloadsubsurface-ff5fa70a88d2ac0c424a1f1a994837ebe7e27d9d.tar.gz
Editing air or water temperature should modify dive computer, not dive
The dive fields are summary fields, the actual data needs to be in the divecomputer specific fields. Fixes #307
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 41e37a720..7f3a55a99 100644
--- a/dive.h
+++ b/dive.h
@@ -651,6 +651,7 @@ extern void finish_sample(struct divecomputer *dc);
extern void sort_table(struct dive_table *table);
extern struct dive *fixup_dive(struct dive *dive);
extern unsigned int dc_airtemp(struct divecomputer *dc);
+extern unsigned int dc_watertemp(struct divecomputer *dc);
extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded);
extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded);
extern void renumber_dives(int nr);