~singpolyma/biboumi

e24ed4f70c22142029fa8e6cf5b874e8bc261bc3 — Emmanuel Gil Peyrot 8 years ago ac30733
Make sure XDG_CONFIG_HOME is absolute, as per XDG basedir spec.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.cpp
M src/main.cpp => src/main.cpp +1 -1
@@ 71,7 71,7 @@ int main(int ac, char** av)
  else
  {
    const char* xdg_config_home = getenv("XDG_CONFIG_HOME");
    if (xdg_config_home)
    if (xdg_config_home && xdg_config_home[0] == '/')
      Config::filename = std::string{xdg_config_home} + "/" "biboumi" "/" "biboumi.cfg";
    else
    {