summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 31a94702e1..17c1da0850 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -561,6 +561,8 @@ ARDOUR::string_to_auto_state (std::string str)
return Write;
} else if (str == X_("Touch")) {
return Touch;
+ } else if (str == X_("Latch")) {
+ return Latch;
}
fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState string: ", str) << endmsg;
@@ -585,6 +587,10 @@ ARDOUR::auto_state_to_string (AutoState as)
break;
case Touch:
return X_("Touch");
+ break;
+ case Latch:
+ return X_("Latch");
+ break;
}
fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState type: ", as) << endmsg;