revert inadvertently committed debug settings
[ardour.git] / libs / ardour / source.cc
index 29093035c2c62d4c81607cd8dab94e493dbed1b3..f9772ec9eddbd4c2210c486e2b1581ac91ba7bad 100644 (file)
@@ -40,7 +40,7 @@
 #include "ardour/source.h"
 #include "ardour/transient_detector.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -113,7 +113,7 @@ Source::get_state ()
 int
 Source::set_state (const XMLNode& node, int version)
 {
-       const XMLProperty* prop;
+       XMLProperty const * prop;
 
        if ((prop = node.property ("name")) != 0) {
                _name = prop->value();
@@ -178,7 +178,7 @@ Source::set_been_analysed (bool yn)
                        yn = false;
                }
        }
-       if (yn != _analysed); {
+       if (yn != _analysed) {
                Glib::Threads::Mutex::Lock lm (_analysis_lock);
                _analysed = yn;
        }