diff options
author | Anton Lundin <glance@acc.umu.se> | 2018-03-05 21:19:42 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-13 18:54:16 +0200 |
commit | 15b6953438fd45921fe7adc16995eb89d25339a9 (patch) | |
tree | 00ff0a9ea10564b23896f532ecc6c738f24199cb /cmake/Modules | |
parent | 7da214a8c4af92c2027ab70056b14c639a8ac110 (diff) | |
download | subsurface-15b6953438fd45921fe7adc16995eb89d25339a9.tar.gz |
Use the current dive mode instead of constant
In the if case above, we already conclude its a OC dive, but its cleaner
to actually pass the current mode instead of a hard coded value.
This also makes the code less prune to future bugs.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'cmake/Modules')
0 files changed, 0 insertions, 0 deletions