diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-20 19:13:58 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-20 19:13:58 (GMT) |
commit | 8acd1155de2cfbe7d7f1716566418f84fbd55a07 (patch) | |
tree | 680a26b719cd9f99698cad2e3bc8b7ffb62dd0e2 /Swiften/Application/UnixApplicationPathProvider.h | |
parent | 3e37086b581d49d4112eafa3ae21df9b95314081 (diff) | |
download | swift-contrib-8acd1155de2cfbe7d7f1716566418f84fbd55a07.zip swift-contrib-8acd1155de2cfbe7d7f1716566418f84fbd55a07.tar.bz2 |
Fix unix compilation.
Diffstat (limited to 'Swiften/Application/UnixApplicationPathProvider.h')
-rw-r--r-- | Swiften/Application/UnixApplicationPathProvider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Application/UnixApplicationPathProvider.h b/Swiften/Application/UnixApplicationPathProvider.h index 92cb6dd..047261e 100644 --- a/Swiften/Application/UnixApplicationPathProvider.h +++ b/Swiften/Application/UnixApplicationPathProvider.h @@ -21,7 +21,7 @@ namespace Swift { resourceDirs.push_back(getExecutableDir() / "../resources"); // Development char* xdgDataDirs = getenv("XDG_DATA_DIRS"); if (xdgDataDirs) { - std::vector<String> dataDirs = String(xdgDataDirs).split(":"); + std::vector<String> dataDirs = String(xdgDataDirs).split(':'); if (!dataDirs.empty()) { foreach(const String& dir, dataDirs) { resourceDirs.push_back(boost::filesystem::path(dir.getUTF8String()) / "swift"); |