Unverified Commit c7c6ad6a authored by ZachBacon's avatar ZachBacon
Browse files

implemented the fix from nhdailey, should resolve #153. Will put up a

test build soon.
parent 66980934
...@@ -479,6 +479,8 @@ void load_opts() ...@@ -479,6 +479,8 @@ void load_opts()
opt_desc& opt = opts[i]; opt_desc& opt = opts[i];
if (opt.stropt) { if (opt.stropt) {
//Fix provided by nhdailey
cfg->Read(opt.opt, opt.stropt, *opt.stropt);
opt.curstr = *opt.stropt; opt.curstr = *opt.stropt;
} else if (!opt.enumvals.empty()) { } else if (!opt.enumvals.empty()) {
auto enum_opts = str_split(opt.enumvals.MakeLower(), wxT("|")); auto enum_opts = str_split(opt.enumvals.MakeLower(), wxT("|"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment