summaryrefslogtreecommitdiff
path: root/src/option_types.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2019-06-27 22:42:12 +1000
committerMaxime Coste <mawww@kakoune.org>2019-06-27 22:42:12 +1000
commite4d6bff5ec1a6bf3a3456e26d51e53d85c282ea0 (patch)
tree111855cd65df8826790db321825be8d119394de8 /src/option_types.hh
parent196b38b2e0b8c8babfeffec786ef9ad948e976e6 (diff)
Fix quoting of tuple options
Fixes #2990
Diffstat (limited to 'src/option_types.hh')
-rw-r--r--src/option_types.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_types.hh b/src/option_types.hh
index 5c7b2a9f..c0f138ea 100644
--- a/src/option_types.hh
+++ b/src/option_types.hh
@@ -174,7 +174,7 @@ constexpr char tuple_separator = '|';
template<typename... Types, size_t... I>
String option_to_string_impl(Quoting quoting, const std::tuple<Types...>& opt, std::index_sequence<I...>)
{
- return join(make_array({option_to_string(std::get<I>(opt), quoting)...}), tuple_separator);
+ return quoter(quoting)(join(make_array({option_to_string(std::get<I>(opt), Quoting::Raw)...}), tuple_separator));
}
template<typename... Types>