Use home_encode when setting window title to filename
This commit is contained in:
parent
d63afe02ed
commit
9f7f55926b
|
@ -90,7 +90,7 @@ end
|
|||
function DocView:get_filename()
|
||||
if self.doc.abs_filename then
|
||||
local post = self.doc:is_dirty() and "*" or ""
|
||||
return self.doc.abs_filename .. post
|
||||
return common.home_encode(self.doc.abs_filename) .. post
|
||||
end
|
||||
return self:get_name()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue