mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Add logic parentheses to make compiler happy
Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
fa57bb46f2
commit
be6b50fce4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue