aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-09-18 15:46:31 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-09-18 15:46:31 -0400
commit1d6c1bfb4503da0d4596345d74af63a34a58410b (patch)
tree883a8c2abf023318b13cb901bb71a531e75118f9 /core
parentb913a34308bd4fbc69d11ddd131e90cfda06ce6d (diff)
downloadtextadept-1d6c1bfb4503da0d4596345d74af63a34a58410b.tar.gz
textadept-1d6c1bfb4503da0d4596345d74af63a34a58410b.zip
Fixed bug with extra empty entry in buffer browser; core/gui.lua
Diffstat (limited to 'core')
-rw-r--r--core/gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 65df428f..8ea4162f 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -111,7 +111,7 @@ function gui.switch_buffer()
items[#items + 1] = filename
end
local i = gui.filteredlist(_L['Switch Buffers'], columns, items, true,
- NCURSES and { '--width', gui.size[1] - 2 } or '')
+ NCURSES and { '--width', gui.size[1] - 2 } or '--')
if i then view:goto_buffer(i + 1) end
end