mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Use PBD::string_to<bool>() in GenericMidiControlProtocol class
Equivalent to PBD::string_is_affirmative()
This commit is contained in:
parent
04a027a031
commit
23eb1fbf01
1 changed files with 1 additions and 1 deletions
|
|
@ -871,7 +871,7 @@ GenericMidiControlProtocol::create_binding (const XMLNode& node)
|
|||
}
|
||||
|
||||
if ((prop = node.property (X_("momentary"))) != 0) {
|
||||
momentary = string_is_affirmative (prop->value());
|
||||
momentary = string_to<bool> (prop->value());
|
||||
} else {
|
||||
momentary = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue