fix logic of PresentationInfo::color_set()
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 22:02:42 +0000 (18:02 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 22:02:42 +0000 (18:02 -0400)
libs/ardour/presentation_info.cc

index 4fdbd4111aaa2ccf5859c2110316655a7096e172..654a80f6cede68415eeaab03d9aae2e91c5ffc98 100644 (file)
@@ -176,7 +176,7 @@ PresentationInfo::color_set () const
         * a color to completely transparent black? only the constructor ..
         */
 
-       return _color == 0;
+       return _color != 0;
 }
 
 void