mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-20 01:41:40 +03:00
Fix introduced bug in real_path
This commit is contained in:
parent
9518f279fb
commit
6d8747b886
@ -79,7 +79,7 @@ String real_path(StringView filename)
|
|||||||
{
|
{
|
||||||
if (non_existing.empty())
|
if (non_existing.empty())
|
||||||
return res;
|
return res;
|
||||||
return format("{}{}", res, non_existing);
|
return format("{}/{}", res, non_existing);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto it = find(existing.rbegin() + 1, existing.rend(), '/');
|
auto it = find(existing.rbegin() + 1, existing.rend(), '/');
|
||||||
|
Loading…
Reference in New Issue
Block a user