summaryrefslogtreecommitdiffstats
path: root/core/ostctools.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/ostctools.c')
-rw-r--r--core/ostctools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ostctools.c b/core/ostctools.c
index 84ef23301..f0fa6a634 100644
--- a/core/ostctools.c
+++ b/core/ostctools.c
@@ -188,7 +188,7 @@ void ostctools_import(const char *file, struct dive_table *divetable)
}
record_dive_to_table(ostcdive, divetable);
mark_divelist_changed(true);
- sort_table(divetable);
+ sort_dive_table(divetable);
close_out:
fclose(archive);