fix merge problem

I guess I get what I deserve.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-03-13 15:33:04 -07:00
parent ed83f6ce32
commit 6354f97321
2 changed files with 8 additions and 5 deletions

View file

@ -1362,8 +1362,9 @@ void EditCylinder::undo()
}
EditSensors::EditSensors(int toCylinderIn, int fromCylinderIn)
: dc(current_dc), d(current_dive), toCylinder(toCylinderIn), fromCylinder(fromCylinderIn)
: d(current_dive), toCylinder(toCylinderIn), fromCylinder(fromCylinderIn)
{
const struct divecomputer *dc = get_dive_dc(d, dc_number);
if (!d || !dc)
return;