fix Perl tests config loading
This commit is contained in:
parent
43e769b611
commit
1bbeedbfb8
@ -144,7 +144,7 @@ print_config_def()
|
|||||||
ConfigOptionDef* optdef = &oit->second;
|
ConfigOptionDef* optdef = &oit->second;
|
||||||
|
|
||||||
const char* opt_type;
|
const char* opt_type;
|
||||||
if (optdef->type == coFloat || optdef->type == coFloats || optdef->type == coFloatOrPercent) {
|
if (optdef->type == coFloat || optdef->type == coFloats || optdef->type == coFloatOrPercent || optdef->type == coFloatsOrPercents) {
|
||||||
opt_type = "f";
|
opt_type = "f";
|
||||||
} else if (optdef->type == coPercent || optdef->type == coPercents) {
|
} else if (optdef->type == coPercent || optdef->type == coPercents) {
|
||||||
opt_type = "percent";
|
opt_type = "percent";
|
||||||
|
Loading…
Reference in New Issue
Block a user