summaryrefslogtreecommitdiffstats
path: root/core/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/configuredivecomputerthreads.cpp')
-rw-r--r--core/configuredivecomputerthreads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configuredivecomputerthreads.cpp b/core/configuredivecomputerthreads.cpp
index 5ef7e5eb9..994c7c411 100644
--- a/core/configuredivecomputerthreads.cpp
+++ b/core/configuredivecomputerthreads.cpp
@@ -2081,7 +2081,7 @@ static dc_status_t write_ostc_settings(dc_device_t *device, DeviceDetails *m_dev
time.hour = timeToSet.time().hour();
time.minute = timeToSet.time().minute();
time.second = timeToSet.time().second();
- time.timezone == DC_TIMEZONE_NONE;
+ time.timezone = DC_TIMEZONE_NONE;
rc = dc_device_timesync(device, &time);
}
EMIT_PROGRESS();