Also a xdg_data_path

This commit is contained in:
Florent Le Coz
2015-09-18 21:50:54 +02:00
parent ea0b2f2bb8
commit 33fa1dcd5a
4 changed files with 22 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ int main(int ac, char** av)
if (ac > 1)
Config::filename = av[1];
else
Config::filename = xdg_path("biboumi.cfg");
Config::filename = xdg_config_path("biboumi.cfg");
Config::file_must_exist = true;
std::cerr << "Using configuration file: " << Config::filename << std::endl;