diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-06 12:59:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-09 19:19:04 +0100 |
commit | 2fd4cb5fe1415a204610b89b22c0863c0703175e (patch) | |
tree | cab34a6dc57376b0447b1124b199e8b9566ca460 /core/gaspressures.c | |
parent | fe6d3c8c3803378fa9369dd6dfb5ec2fa5a0086f (diff) | |
download | subsurface-2fd4cb5fe1415a204610b89b22c0863c0703175e.tar.gz |
Profile: pass index instead of pointer to set_plot_pressure_data
Another plot-pressure-related function whose argument is converted
to an index.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gaspressures.c')
-rw-r--r-- | core/gaspressures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gaspressures.c b/core/gaspressures.c index 880c4dbdb..f8f6a7899 100644 --- a/core/gaspressures.c +++ b/core/gaspressures.c @@ -442,7 +442,7 @@ void populate_pressure_information(struct dive *dive, struct divecomputer *dc, s // until we get back to this cylinder. if (cyl != sensor) { current = NULL; - set_plot_pressure_data(entry, SENSOR_PR, sensor, 0); + set_plot_pressure_data(pi, i, SENSOR_PR, sensor, 0); continue; } |