Use PBD::string_to<bool> in AudioPlaylist class
This commit is contained in:
parent
8e07e4bd68
commit
603d944530
|
@ -495,7 +495,7 @@ AudioPlaylist::load_legacy_crossfades (const XMLNode& node, int version)
|
|||
XMLProperty const * p = (*i)->property (X_("active"));
|
||||
assert (p);
|
||||
|
||||
if (!string_is_affirmative (p->value())) {
|
||||
if (!string_to<bool> (p->value())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user