fixed a tiny mistake in location picker
This commit is contained in:
@@ -301,7 +301,7 @@ if no path coresponds then use the most correct one
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (path.size() < it->path.size())
|
if (path.size() <= it->path.size())
|
||||||
{
|
{
|
||||||
std::cout << "path is missing a /\n";
|
std::cout << "path is missing a /\n";
|
||||||
if (it->path.compare(0, path.size(), path) == 0)
|
if (it->path.compare(0, path.size(), path) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user