Fix buffer name completion when basename only
This commit is contained in:
parent
89956b5347
commit
de402c4703
|
@ -110,7 +110,7 @@ CandidateList BufferManager::complete_buffer_name(StringView prefix,
|
|||
{
|
||||
ByteCount pos = name.find_last_of('/');
|
||||
if (pos != (int)String::npos)
|
||||
match_name = name.substr(pos);
|
||||
match_name = name.substr(pos+1);
|
||||
}
|
||||
|
||||
if (prefix_match(match_name, real_prefix))
|
||||
|
|
Loading…
Reference in New Issue
Block a user