Skip to content

Commit

Permalink
Fixed issue #122
Browse files Browse the repository at this point in the history
  • Loading branch information
Shikyo Kira committed Jan 11, 2020
1 parent ba31aaf commit aa04180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void read_directory(const string& name, vecstr& fv)

for (unsigned int i = 0; i < fv.size(); ++i)
{
if (boost::to_lower_copy(fv[i]) == "folder_managed_by_vortex")
if (boost::to_lower_copy(fv[i]).find("folder_managed_by_vortex") != NOT_FOUND)
{
fv.erase(fv.begin() + i);
--i;
Expand All @@ -90,7 +90,7 @@ void read_directory(const wstring& name, vector<wstring>& fv)

for (unsigned int i = 0; i < fv.size(); ++i)
{
if (boost::to_lower_copy(fv[i]) == L"folder_managed_by_vortex")
if (boost::to_lower_copy(fv[i]).find(L"folder_managed_by_vortex") != NOT_FOUND)
{
fv.erase(fv.begin() + i);
--i;
Expand Down

0 comments on commit aa04180

Please sign in to comment.