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

test build soon.
This commit is contained in:
ZachBacon 2018-02-25 13:38:25 -05:00
parent 66980934b2
commit c7c6ad6a87
No known key found for this signature in database
GPG Key ID: D4F6F40B695E615A
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ void load_opts()
opt_desc& opt = opts[i];
if (opt.stropt) {
//Fix provided by nhdailey
cfg->Read(opt.opt, opt.stropt, *opt.stropt);
opt.curstr = *opt.stropt;
} else if (!opt.enumvals.empty()) {
auto enum_opts = str_split(opt.enumvals.MakeLower(), wxT("|"));