diff options
author | 2022-12-19 00:46:53 +1100 | |
---|---|---|
committer | 2022-12-19 00:46:53 +1100 | |
commit | d6fe526b288f0fd5f972fd1d054020b6642a1f0b (patch) | |
tree | 824e060803517c5ab9aa4aad116dc591335e6157 /src/lib/util/options.cpp | |
parent | 7732deb266a957cfc28b44111fb16cc2adeb9321 (diff) |
util/options.cpp: Fixed overriden default option values from OSD.
Diffstat (limited to 'src/lib/util/options.cpp')
-rw-r--r-- | src/lib/util/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/options.cpp b/src/lib/util/options.cpp index 7bf64c344e4..890a48f0727 100644 --- a/src/lib/util/options.cpp +++ b/src/lib/util/options.cpp @@ -519,7 +519,7 @@ bool core_options::simple_entry::internal_copy_value(const entry &that) void core_options::simple_entry::set_default_value(std::string &&newvalue) { m_data = m_defdata = type_specific_substitutions(newvalue); - m_data_unsubst = std::move(newvalue); + m_data_unsubst = m_defdata_unsubst = std::move(newvalue); } |