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:
parent
02573d19a4
commit
bf29591554
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue