diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-11-13 16:12:45 +0100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-11-25 20:13:01 +0100 |
commit | be6b50fce403ab6fd7d9b99167f57e4aa31d2a77 (patch) | |
tree | bb85a53ee77ad5185bbe21189fd805b78b5f44a5 /core | |
parent | fa57bb46f2e49fac5b8963fa21dd7a423b421859 (diff) | |
download | subsurface-be6b50fce403ab6fd7d9b99167f57e4aa31d2a77.tar.gz |
Add logic parentheses to make compiler happy
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c index ac327aee2..6fafb3017 100644 --- a/core/profile.c +++ b/core/profile.c @@ -1047,7 +1047,7 @@ void calculate_deco_information(struct dive *dive, struct divecomputer *dc, stru /* If using VPM-B, take first_ceiling_pressure as the deepest ceiling */ if (decoMode() == VPMB) { if (current_ceiling >= first_ceiling || - time_deep_ceiling == t0 && entry->depth == (entry - 1)->depth) { + (time_deep_ceiling == t0 && entry->depth == (entry - 1)->depth)) { time_deep_ceiling = t1; first_ceiling = current_ceiling; deco_state->first_ceiling_pressure.mbar = depth_to_mbar(first_ceiling, dive); |