summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-22 16:53:35 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-22 16:53:35 (GMT)
commita8698c4d671cf3c957f2d67a4e8cedde49dae8a3 (patch)
treec01c1023b6c6b350f67b5294aee41ea62c2bf362 /Swiften/Application/Unix
parentabbfb6f8c410104c883c54e6f483c8c37f954d56 (diff)
downloadswift-a8698c4d671cf3c957f2d67a4e8cedde49dae8a3.zip
swift-a8698c4d671cf3c957f2d67a4e8cedde49dae8a3.tar.bz2
Use lowercase app name for application dir on Un*x systems.
Diffstat (limited to 'Swiften/Application/Unix')
-rw-r--r--Swiften/Application/Unix/UnixApplication.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Application/Unix/UnixApplication.h b/Swiften/Application/Unix/UnixApplication.h
index 8cf6feb..0b7bf67 100644
--- a/Swiften/Application/Unix/UnixApplication.h
+++ b/Swiften/Application/Unix/UnixApplication.h
@@ -16,7 +16,7 @@ namespace Swift {
}
boost::filesystem::path getSettingsDir() const {
- boost::filesystem::path result(getHomeDir() / ("." + getName().getUTF8String()));
+ boost::filesystem::path result(getHomeDir() / ("." + getName().getLowerCase().getUTF8String()));
boost::filesystem::create_directory(result);
return result;
}