aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index c173494c0..33c866e72 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -304,9 +304,9 @@ int removeCylinder(int index, bool currentDiveOnly)
return execute_edit(new RemoveCylinder(index, currentDiveOnly));
}
-int editCylinder(int index, cylinder_t cyl, bool currentDiveOnly)
+int editCylinder(int index, cylinder_t cyl, EditCylinderType type, bool currentDiveOnly)
{
- return execute_edit(new EditCylinder(index, cyl, currentDiveOnly));
+ return execute_edit(new EditCylinder(index, cyl, type, currentDiveOnly));
}
// Trip editing related commands