Fix potential crash at exit/close.
[ardour.git] / gtk2_ardour / axis_view.cc
index d87768703973d30c758e4a1b39d673a9b5e4bdf0..d5f7b46a37cea9ea9015cfa54bbcde8419ff01a6 100644 (file)
@@ -37,7 +37,7 @@
 #include "gui_object.h"
 #include "axis_view.h"
 #include "utils.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -67,7 +67,7 @@ AxisView::gui_property (const string& property_name) const
        if (property_hashtable.count(property_name)) {
                return property_hashtable[property_name];
        } else {
-         string rv = gui_object_state().get_string (state_id(), property_name);
+               string rv = gui_object_state().get_string (state_id(), property_name);
                property_hashtable.erase(property_name);
                property_hashtable.emplace(property_name, rv);
                return rv;