From df1b7770efff3e03f6ac3f8954f367d8462b0b76 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sun, 25 Jun 2017 16:48:47 +0200 Subject: options: Set the value when setting the default as before [O. Galibert] --- src/lib/util/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/options.cpp b/src/lib/util/options.cpp index e989d6e4204..14c96f680e8 100644 --- a/src/lib/util/options.cpp +++ b/src/lib/util/options.cpp @@ -356,7 +356,7 @@ void core_options::simple_entry::internal_set_value(std::string &&newvalue) void core_options::simple_entry::set_default_value(std::string &&newvalue) { - m_defdata = std::move(newvalue); + m_data = m_defdata = std::move(newvalue); } -- cgit v1.2.3