diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-02-26 12:42:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-03-24 10:30:22 -0700 |
commit | d0494beb5f1509fc73cf7d0a110740676164d7b9 (patch) | |
tree | a46c8d05055abd0673ad2921827266db40764596 /desktop-widgets/divelogexportdialog.ui | |
parent | 289cf3f9c5e7bd1882690b93d83b0c49e35883ba (diff) | |
download | subsurface-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 'desktop-widgets/divelogexportdialog.ui')
0 files changed, 0 insertions, 0 deletions