Initialize a variable with the boolean version of cfg["wrap"], not "wrap"

This commit is contained in:
Alexander van Gessel 2010-02-21 04:07:00 +01:00
parent ac87556f79
commit f254942d7c

View file

@ -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"]))
{
}