Merge pull request #902 from philenotfound/master

Fix the check for the enviroment variable
This commit is contained in:
Jan Holthuis 2016-01-30 18:45:50 +01:00
commit 45deafc940
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ string find_user_data_dir()
std::vector<string> find_system_config_dirs()
{
std::vector<string> dirs;
if (getenv("XDG_DATA_DIRS") != NULL)
if (getenv("XDG_CONFIG_DIRS") != NULL)
{
string s = (string)getenv("XDG_CONFIG_DIRS");