aboutsummaryrefslogtreecommitdiff
path: root/core/ext/pm/buffer_browser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/ext/pm/buffer_browser.lua')
-rw-r--r--core/ext/pm/buffer_browser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/pm/buffer_browser.lua b/core/ext/pm/buffer_browser.lua
index d894da49..6c292200 100644
--- a/core/ext/pm/buffer_browser.lua
+++ b/core/ext/pm/buffer_browser.lua
@@ -15,7 +15,7 @@ function get_contents_for()
index = string.format("%02i", index)
contents[index] = {
pixbuf = buffer.dirty and 'gtk-edit' or 'gtk-file',
- text = (buffer.filename or 'Untitled'):match('[^/]+$')
+ text = (buffer.filename or 'Untitled'):match('[^/\\]+$')
}
end
return contents