aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/bookmarks.lua')
-rw-r--r--modules/textadept/bookmarks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/bookmarks.lua b/modules/textadept/bookmarks.lua
index 9f2d1c10..c11f0fa5 100644
--- a/modules/textadept/bookmarks.lua
+++ b/modules/textadept/bookmarks.lua
@@ -62,7 +62,7 @@ function M.goto_mark(next)
while line >= 0 do
local mark = string.format('%s:%d: %s', basename, line + 1,
buffer:get_line(line):match('^[^\r\n]*'))
- utf8_list[#utf8_list + 1], buffers[#utf8_list + 1] = mark, i
+ utf8_list[#utf8_list + 1], buffers[#utf8_list + 1] = mark, buffer
line = buffer:marker_next(line + 1, 2^M.MARK_BOOKMARK)
end
end