diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2013-01-24 14:04:02 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-24 08:47:34 -0800 |
commit | d1262848d80d325605b5720961885f452426fb48 (patch) | |
tree | 18cd279b67525f5d4e713837e2f1187733a831e9 | |
parent | 4982389ca762ef4831fc095f00e65e8c7b4bfc1a (diff) | |
download | subsurface-d1262848d80d325605b5720961885f452426fb48.tar.gz |
Fix compile error in planner.c
Linus seems to have been too eager in the dc refactoring: a diveplan
doesn't have a divecomputer.
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | planner.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ void dump_plan(struct diveplan *diveplan) printf("\nDiveplan @ %04d-%02d-%02d %02d:%02d:%02d (surfpres %dmbar):\n", tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec, - diveplan->dc.surface_pressure); + diveplan->surface_pressure); dp = diveplan->dp; while (dp) { printf("\t%3u:%02u: %dmm gas: %d o2 %d h2\n", FRACTION(dp->time, 60), dp->depth, dp->o2, dp->he); |