mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix copy_tree_node to no longer overwrite dive duration
Cut and paste error when creating this function. Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f6e8903a52
commit
f4f5536bad
1 changed files with 2 additions and 2 deletions
|
@ -1223,7 +1223,7 @@ static int copy_tree_node(GtkTreeIter *a, GtkTreeIter *b)
|
|||
DIVE_RATING, &store_dive.rating,
|
||||
DIVE_DEPTH, &store_dive.maxdepth,
|
||||
DIVE_DURATION, &store_dive.duration,
|
||||
DIVE_TEMPERATURE, &store_dive.duration,
|
||||
DIVE_TEMPERATURE, &store_dive.watertemp.mkelvin,
|
||||
DIVE_TOTALWEIGHT, &totalweight,
|
||||
DIVE_SUIT, &store_dive.suit,
|
||||
DIVE_CYLINDER, &cylinder_text,
|
||||
|
@ -1238,7 +1238,7 @@ static int copy_tree_node(GtkTreeIter *a, GtkTreeIter *b)
|
|||
DIVE_RATING, store_dive.rating,
|
||||
DIVE_DEPTH, store_dive.maxdepth,
|
||||
DIVE_DURATION, store_dive.duration,
|
||||
DIVE_TEMPERATURE, store_dive.duration,
|
||||
DIVE_TEMPERATURE, store_dive.watertemp.mkelvin,
|
||||
DIVE_TOTALWEIGHT, totalweight,
|
||||
DIVE_SUIT, store_dive.suit,
|
||||
DIVE_CYLINDER, cylinder_text,
|
||||
|
|
Loading…
Add table
Reference in a new issue