Robert C. Helling bb4bf639c3 Fix deco_mode confusion
We have two prefernces determining the deco_mode (BUEHLMANN vs VPMB
vs RECREATIONAL): One for the planner (deco_mode) and one for
displaying dives (display_deco_mode). The former is set in the planner
settings while the latter is set in the preferences.

This patch clears up a confusion which of the two to use by introducing
a helper function that selects the correct variable.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
2017-01-06 20:43:23 -08:00
..
2017-01-06 20:43:23 -08:00
2016-09-20 09:26:35 -07:00
2017-01-03 22:28:18 -08:00
2016-08-10 15:08:51 -07:00
2016-11-09 06:33:45 -08:00
2016-12-31 09:56:08 +02:00
2017-01-06 20:43:23 -08:00
2017-01-06 20:43:23 -08:00
2016-04-20 16:00:28 -07:00
2017-01-06 20:43:23 -08:00
2017-01-06 20:43:23 -08:00
2017-01-06 20:43:23 -08:00
2016-04-29 09:07:17 -07:00
2016-04-29 09:07:17 -07:00
2016-04-29 09:07:17 -07:00