summaryrefslogtreecommitdiffstats
path: root/gettextfromc.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 11:54:13 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 11:54:13 +0900
commitc0a6c136f04b8dcca1fb148894148195a1a31d60 (patch)
tree288919052ffd1eaa4040109dae27b9feaac50ff1 /gettextfromc.h
parent5961579cda23c05b1d4bdc8251accfc8132aad4f (diff)
downloadsubsurface-c0a6c136f04b8dcca1fb148894148195a1a31d60.tar.gz
Fix dive planner widget
In commit 0f50b73f9e88 ("Fix planner / add dive handling of DiveHandler Points") some issues were introduced. While it is fine to remove the artificial first point at the surface, the commit broke the special handling for o2 == -1, i.e., the usual case where a default gas needs to be picked. This generalizes the algorithm previously used to also look to the right, now that we are no longer guaranteed that there is a first point to our left. This also cleans up some whitespace damage introduced in the same commit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gettextfromc.h')
0 files changed, 0 insertions, 0 deletions