added missing 'syncevolution' subdir when XDG_CONFIG_HOME is set

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@545 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2008-03-29 17:03:11 +00:00
parent 02573d19a4
commit bf29591554
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ private:
static string getNewRoot() {
const char *xdg_root_str = getenv("XDG_CONFIG_HOME");
return xdg_root_str ? xdg_root_str :
return xdg_root_str ? string(xdg_root_str) + "/syncevolution" :
getHome() + "/.config/syncevolution";
}
};