diff --git a/profile-widget/divepercentageitem.cpp b/profile-widget/divepercentageitem.cpp index 9c3db3d4d..8ddfaf6fd 100644 --- a/profile-widget/divepercentageitem.cpp +++ b/profile-widget/divepercentageitem.cpp @@ -114,7 +114,7 @@ void DivePercentageItem::replot(const dive *d, const struct divecomputer *dc, co continue; double value = item.percentages[tissue]; - struct gasmix gasmix = get_gasmix(d, dc, sec, &ev, gasmix); + struct gasmix gasmix = get_gasmix(d, dc, sec, &ev, gasmix_air); int inert = get_n2(gasmix) + get_he(gasmix); color = colorScale(value, inert); if (nextX >= width)