summaryrefslogtreecommitdiffstats
path: root/core/divecomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/divecomputer.cpp')
-rw-r--r--core/divecomputer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/divecomputer.cpp b/core/divecomputer.cpp
index b3f01fb78..5a6353f1f 100644
--- a/core/divecomputer.cpp
+++ b/core/divecomputer.cpp
@@ -125,13 +125,13 @@ extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *
extern "C" int is_default_dive_computer(const char *vendor, const char *product)
{
auto dc = SettingsObjectWrapper::instance()->dive_computer_settings;
- return dc->dc_vendor() == vendor && dc->dc_product() == product;
+ return dc->vendor() == vendor && dc->product() == product;
}
extern "C" int is_default_dive_computer_device(const char *name)
{
auto dc = SettingsObjectWrapper::instance()->dive_computer_settings;
- return dc->dc_device() == name;
+ return dc->device() == name;
}
extern "C" void set_dc_nickname(struct dive *dive)