fix crash when copy'ing latent plugins
[ardour.git] / libs / ardour / filesystem_paths.cc
index daa762fa8aae456ec299559f0b445169625f81ad..47b9994cc6c9229e6090e0f5128d98d50872e455 100644 (file)
@@ -29,7 +29,7 @@
 #include "ardour/directory_names.h"
 #include "ardour/filesystem_paths.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 #ifdef PLATFORM_WINDOWS
 #include "shlobj.h"
@@ -50,17 +50,17 @@ user_config_directory_name (int version = -1)
        }
 
        /* ARDOUR::Profile may not be available when this is
-          called, so rely on build-time detection of the 
+          called, so rely on build-time detection of the
           product name etc.
        */
-       
+
 #ifdef USE_TRACKS_CODE_FEATURES
        /* Tracks does not use versioned configuration folders, which may or
           may not be problematic in the future.
        */
        return X_(PROGRAM_NAME);
 
-#else          
+#else
        const string config_dir_name = string_compose ("%1%2", X_(PROGRAM_NAME), version);
 
 #if defined (__APPLE__) || defined (PLATFORM_WINDOWS)
@@ -70,8 +70,8 @@ user_config_directory_name (int version = -1)
        /* use lower case folder name on Linux */
        return downcase (config_dir_name);
 #endif
-#endif 
-}      
+#endif
+}
 
 std::string
 user_config_directory (int version)
@@ -208,7 +208,7 @@ ardour_dll_directory ()
        if (s.empty()) {
                std::cerr << _("ARDOUR_DLL_PATH not set in environment - exiting\n");
                ::exit (1);
-       }       
+       }
        return s;
 #endif
 }