summaryrefslogtreecommitdiffstats
path: root/dives/TestDiveDivingLog5.08.udcf
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-12 14:49:18 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-12 14:49:18 -0400
commit613402f6c9dd73dfd36e65254fab9534765d9eb6 (patch)
tree39216ad8a0639c7bd926498e3d6912d5a3eaf171 /dives/TestDiveDivingLog5.08.udcf
parent49c9ad199f22f379a93bbc625a9e0b6339cf8110 (diff)
downloadsubsurface-613402f6c9dd73dfd36e65254fab9534765d9eb6.tar.gz
Correctly copy all information in an event
Instead of trying to use add_event() to reinsert events we simply copy the memory and adjust the pointers. Using add_event() lost the gas mix and gas index information on gaschange events - and this prevent switches between cylinders with the same gasmix to be rendered correctly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/TestDiveDivingLog5.08.udcf')
0 files changed, 0 insertions, 0 deletions