summaryrefslogtreecommitdiffstats
path: root/core/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:17:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:17:19 -0700
commitabc6c7d2b3ff630a0c7cbc5e1aeda74919e7a078 (patch)
treeee61464ba597e5e9b20ce6e934d9b5b2feb6c333 /core/configuredivecomputerthreads.cpp
parenta8194fddc53d7f3517b5a74b736aa1d0cf903913 (diff)
downloadsubsurface-abc6c7d2b3ff630a0c7cbc5e1aeda74919e7a078.tar.gz
Assignment instead of test for equality
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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();