fix Perl tests config loading

This commit is contained in:
PavelMikus 2022-12-14 19:33:07 +01:00
parent 43e769b611
commit 1bbeedbfb8

View File

@ -144,7 +144,7 @@ print_config_def()
ConfigOptionDef* optdef = &oit->second;
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";
} else if (optdef->type == coPercent || optdef->type == coPercents) {
opt_type = "percent";