mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-20 18:11:36 +03:00
fix complete_filename
This commit is contained in:
parent
96c6adad78
commit
db1e2f2d86
@ -49,7 +49,7 @@ CandidateList complete_filename(const Context& context,
|
||||
String name = dirprefix + filename;
|
||||
if (entry->d_type == DT_DIR)
|
||||
name += '/';
|
||||
if (fileprefix.length() != 0 and filename[0] != '.')
|
||||
if (fileprefix.length() != 0 or filename[0] != '.')
|
||||
result.push_back(name);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user