fixed a tiny mistake in location picker

This commit is contained in:
Me
2022-08-10 02:07:17 +02:00
parent f7f3e42b15
commit 58f67bf42e

View File

@@ -301,7 +301,7 @@ if no path coresponds then use the most correct one
}
else
{
if (path.size() < it->path.size())
if (path.size() <= it->path.size())
{
std::cout << "path is missing a /\n";
if (it->path.compare(0, path.size(), path) == 0)