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()
|
function DocView:get_filename()
|
||||||
if self.doc.abs_filename then
|
if self.doc.abs_filename then
|
||||||
local post = self.doc:is_dirty() and "*" or ""
|
local post = self.doc:is_dirty() and "*" or ""
|
||||||
return self.doc.abs_filename .. post
|
return common.home_encode(self.doc.abs_filename) .. post
|
||||||
end
|
end
|
||||||
return self:get_name()
|
return self:get_name()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue