summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-14 12:15:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-14 12:15:03 -0700
commitda052967c2631525d04f94fab7103e18a8c4a647 (patch)
tree3b0cba87205339e3404880089f45e5176613b5ad /core
parentb2f327f6e0cbc8e2fdbf75a488d4eea8d8c4ade6 (diff)
downloadsubsurface-da052967c2631525d04f94fab7103e18a8c4a647.tar.gz
Grr. Fix. Typo.
I never push things without compile testing. Never. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/load-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/load-git.c b/core/load-git.c
index 9ae479545..0fe2c6353 100644
--- a/core/load-git.c
+++ b/core/load-git.c
@@ -762,7 +762,7 @@ static void parse_dc_event(char *line, struct membuffer *str, void *_dc)
* Better to mark them being CCR on import so no need for special treatments elsewhere on
* the code.
*/
- if (ev && event.time.seconds == 0 && event.type == SAMPLE_EVENT_PO2 && event.value && xdc->divemode==OC) {
+ if (ev && event.time.seconds == 0 && event.type == SAMPLE_EVENT_PO2 && event.value && dc->divemode==OC) {
dc->divemode = CCR;
}