summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gclue-location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-location.c b/src/gclue-location.c
index ae0834c..038f43b 100644
--- a/src/gclue-location.c
+++ b/src/gclue-location.c
@@ -493,7 +493,7 @@ gclue_location_set_speed_from_prev_location (GClueLocation *location,
timestamp = geocode_location_get_timestamp (gloc);
prev_timestamp = geocode_location_get_timestamp (prev_gloc);
- if (timestamp == prev_timestamp) {
+ if (timestamp <= prev_timestamp) {
speed = GCLUE_LOCATION_SPEED_UNKNOWN;
goto out;