don't append .config to %LOCALAPPDATA%\<ProgramName>\
authorRobin Gareus <robin@gareus.org>
Mon, 22 Dec 2014 22:04:23 +0000 (23:04 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 22 Dec 2014 22:04:44 +0000 (23:04 +0100)
::user_config_directory() could use some general cleanup
an x-platform consolidation, but today is not the day.

libs/ardour/filesystem_paths.cc

index ec5edb8aab0027de1f5e93fef3a56ba312552e77..00ec2790f24d772742207252c95547e525c28aa6 100644 (file)
@@ -70,8 +70,10 @@ user_config_directory ()
                        exit (1);
                }
 
+#ifndef PLATFORM_WINDOWS
                p = home_dir;
                p = Glib::build_filename (p, ".config");
+#endif
        }
 #endif