now in gtk2_ardour: replace all instances of prop->value() == "yes" with string_is_af...
[ardour.git] / gtk2_ardour / redirect_automation_time_axis.cc
index 529c0b565da3e1e22d815ff37f81703e6feb7dc8..65ef2b6fe34e9f228ee8bfedf74a7d9a07a03314 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <ardour/redirect.h>
@@ -61,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;