diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c index ae411d494..255f113fe 100644 --- a/core/dive.c +++ b/core/dive.c @@ -4447,7 +4447,7 @@ struct gasmix get_gasmix(const struct dive *dive, const struct divecomputer *dc, res = gasmix; } - while (ev && ev->time.seconds < time) { + while (ev && ev->time.seconds <= time) { res = get_gasmix_from_event(dive, ev); ev = get_next_event(ev->next, "gaschange"); } |