aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-01-13 23:40:55 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-01-13 23:40:55 -0500
commit5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057 (patch)
tree4ed61d5f00624d02932a5a4adbf79087e96935fd /core/gui.lua
parent238ea9f6743bcd6d76db40511396b676520263dd (diff)
downloadtextadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.tar.gz
textadept-5b3d39a6ac36e344ae95666b6b60f3ee1d4e1057.zip
More informative check_focused_buffer() error message.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 3418e5ea..ee0daafe 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -8,7 +8,7 @@ function gui.check_focused_buffer(buffer)
if type(buffer) ~= 'table' or not buffer.doc_pointer then
error(L('Buffer argument expected.'), 2)
elseif gui.focused_doc_pointer ~= buffer.doc_pointer then
- error(L('The indexed buffer is not the focused one.'), 2)
+ error(L('This buffer is not the current one.'), 2)
end
end