Initialize a variable with the boolean version of cfg["wrap"], not "wrap"
This commit is contained in:
parent
ac87556f79
commit
f254942d7c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ namespace implementation {
|
|||
|
||||
tbuilder_label::tbuilder_label(const config& cfg)
|
||||
: tbuilder_control(cfg)
|
||||
, wrap(utils::string_bool("wrap"))
|
||||
, wrap(utils::string_bool(cfg["wrap"]))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue