b93f2ec Make the dive selection logic al...

based on: http://github.com/torvalds/subsurface/commit/b93f2ec6c3511ce9d0fc6d990ba97af7b8cc440d

compiled with: mingw 3.4.5

notes:
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>