Skip to content

Commit

Permalink
Update XDGBasedir
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed May 6, 2024
1 parent 02bbe4d commit c09204d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions UXDGBaseDir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ std::vector<uxdgstring> UXDG::splitEnv(const uxdgstring& str) noexcept

void handleDir(uxdgstring& dir, std::filesystem::perm_options permsOpt = std::filesystem::perm_options::add)
{
#ifdef UXDG_CREATE_DIRS
std::filesystem::path f(dir);

#ifdef UXDG_CREATE_DIRS
try
{
if (!exists(f))
Expand Down Expand Up @@ -337,4 +336,4 @@ uxdgstring UXDG::legacyUserThemesDir() noexcept
uxdgstring UXDG::legacyUserFontsDir() noexcept
{
return HOME() + "/.fonts";
}
}

0 comments on commit c09204d

Please sign in to comment.