summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index f9ca3ef41..8b86c5343 100644
--- a/divelist.c
+++ b/divelist.c
@@ -1776,7 +1776,7 @@ static int copy_tree_node(GtkTreeIter *a, GtkTreeIter *b)
DIVE_OTU, store_dive.otu,
DIVE_MAXCNS, store_dive.maxcns,
DIVE_LOCATION, store_dive.location,
- DIVE_LOC_ICON, &icon,
+ DIVE_LOC_ICON, icon,
-1);
free(cylinder_text);
free(store_dive.location);