Use platform path separator when setting tree index. (#269)
This commit is contained in:
@@ -189,7 +189,7 @@ function M.set_index_and_redraw(fname)
|
|||||||
return i
|
return i
|
||||||
end
|
end
|
||||||
|
|
||||||
if fname:match(entry.match_path..'/') ~= nil then
|
if fname:match(entry.match_path..utils.path_separator) ~= nil then
|
||||||
if #entry.entries == 0 then
|
if #entry.entries == 0 then
|
||||||
reload = true
|
reload = true
|
||||||
populate(entry.entries, entry.absolute_path, entry)
|
populate(entry.entries, entry.absolute_path, entry)
|
||||||
|
|||||||
Reference in New Issue
Block a user