add histogram_bezier plugin
[goodguy/history.git] / cinelerra-5.0 / plugins / histogram_bezier / bistogramconfig.C
similarity index 98%
rename from cinelerra-5.0/plugins/histogram_bezier/histogramconfig.C
rename to cinelerra-5.0/plugins/histogram_bezier/bistogramconfig.C
index a3cdcf8d339428e718be983e7c0419a95fba70b9..d84550f80fe38a1427392ecc28991c1e3d35fb6f 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include "clip.h"
-#include "histogramconfig.h"
+#include "bistogramconfig.h"
 #include "units.h"
 
 #include <math.h>
@@ -119,10 +119,7 @@ int HistogramPoints::equivalent(HistogramPoints *src)
                current_src = current_src->next;
        }
 
-       if(!current_this && current_src ||
-               current_this && !current_src)
-               return 0;
-       return 1;
+       return !current_this ^ !current_src ? 0 : 1;
 }
 
 void HistogramPoints::copy_from(HistogramPoints *src)