summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-11-24 10:11:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-09 20:58:04 -0800
commitd1971a64f954b001729a0270e2f28bf8fa3f1a4a (patch)
tree2c00c5d04591e01ac3a4b78ea68fb95de08ce19f /desktop-widgets/subsurfacewebservices.cpp
parent2802d4296960eb6ad76292baa105075c5427ea67 (diff)
downloadsubsurface-d1971a64f954b001729a0270e2f28bf8fa3f1a4a.tar.gz
Core: Rename functions to more generic names
Rename - dive_get_insertion_index() -> dive_table_get_insertion_index() - unregister_dive_from_table() -> remove_from_dive_table() - get_idx_in_table() -> get_idx_in_dive_table() - sort_table() -> sort_dive_table() This will make it more straight-forward to generate these functions from macros. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp
index 643c0270f..2804d44d9 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -69,7 +69,7 @@ static bool merge_locations_into_dives(void)
int i, j, tracer=0, changed=0;
struct dive *gpsfix, *nextgpsfix, *dive;
- sort_table(&gps_location_table);
+ sort_dive_table(&gps_location_table);
for_each_dive (i, dive) {
if (!dive_has_gps_location(dive)) {