summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-19 09:25:47 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-19 09:25:47 -0700
commit9dce78c89fe77a107af7a8c962da19780485c3e2 (patch)
tree3aacf276213e4952dbb12be3ce1810839a4d070c /profile.c
parent2b3d39f6fc9814fb1190dd5b69396defe4cc85cf (diff)
downloadsubsurface-9dce78c89fe77a107af7a8c962da19780485c3e2.tar.gz
Don't overwrite the end pressure with sample data if one already exists
If we have en explicit end pressure in the dive information, we should not change it just because we also have some samples. The sample data may not be complete (read: "Linus wireless connection dropped during the dive again, and he fixed up the end pressure manually afterwards"). The beginning pressure already works correctly, because it will only use the sample data for the first sample if no pressure existed before. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions