diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-02 15:38:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-02 15:38:17 +0000 |
commit | b2d08a44b423ce9349b482e4c55ab613729c5d7d (patch) | |
tree | 1260a18e0687d76f749c61fc3a6a8fe82aa73842 /gtk2_ardour/redirect_automation_time_axis.cc | |
parent | 03f6001f4a47d7095f148aa193042c9d0656bc56 (diff) |
now in gtk2_ardour: replace all instances of prop->value() == "yes" with string_is_affirmative (prop->value()) to avoid XML property SNAFUs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5721 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/redirect_automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/redirect_automation_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/redirect_automation_time_axis.cc b/gtk2_ardour/redirect_automation_time_axis.cc index acffda4ff1..65ef2b6fe3 100644 --- a/gtk2_ardour/redirect_automation_time_axis.cc +++ b/gtk2_ardour/redirect_automation_time_axis.cc @@ -60,7 +60,7 @@ RedirectAutomationTimeAxisView::RedirectAutomationTimeAxisView (Session& s, boos XMLProperty *shown = (*iter)->property("shown_editor"); - if (shown && shown->value() == "yes") { + if (shown && string_is_affirmative (shown->value())) { _marked_for_display = true; } break; |