aboutsummaryrefslogtreecommitdiffstats
path: root/core/macos.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-26 12:42:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-03-24 10:30:22 -0700
commitd0494beb5f1509fc73cf7d0a110740676164d7b9 (patch)
treea46c8d05055abd0673ad2921827266db40764596 /core/macos.c
parent289cf3f9c5e7bd1882690b93d83b0c49e35883ba (diff)
downloadsubsurface-d0494beb5f1509fc73cf7d0a110740676164d7b9.tar.gz
planner: fix deco calculation
In 9bfc6d252, testing of the planner was changed to use the planner_ds parameter instead of a global variable. Unfortunately, two conditionals were inverted, leading to an erroneous ceiling calculation when in the planner. Restore the proper conditions. Moreover, instead of testing the planner_ds parameter, use the already existing in_planner flag, which is derived from said parameter. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/macos.c')
0 files changed, 0 insertions, 0 deletions