Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Dec 19, 2024
1 parent c1680de commit 8f1671a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
*.rsuser
*.suo
*.user
*.user.*
*.userosscache
*.sln.docstates

Expand Down Expand Up @@ -69,4 +70,4 @@ compile_commands.json
inno/*.exe

# Docs
docs/
docs/
4 changes: 2 additions & 2 deletions src/filesystem/userdirectories.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace Nickvision::Filesystem
std::string line;
while (std::getline(dirs, line))
{
if (line[0] == '#' || line.empty())
if (line.empty() || line[0] == '#')
{
continue;
}
Expand Down Expand Up @@ -236,4 +236,4 @@ namespace Nickvision::Filesystem
std::filesystem::create_directories(result);
return result;
}
}
}

0 comments on commit 8f1671a

Please sign in to comment.