Fixed a regression bug of handling the obsolete config parameters,

causing crashes.
This commit is contained in:
bubnikv 2017-11-30 13:43:02 +01:00
parent 6aff27f3ab
commit 830da1f8e4
2 changed files with 2 additions and 1 deletions

View file

@ -243,7 +243,7 @@ bool ConfigBase::set_deserialize_raw(const t_config_option_key &opt_key_src, con
for (const auto &opt : def->options) {
for (const t_config_option_key &opt_key2 : opt.second.aliases) {
if (opt_key2 == opt_key) {
opt_key = opt_key2;
opt_key = opt.first;
optdef = &opt.second;
break;
}