diff options
author | 2020-03-26 17:38:51 -0400 | |
---|---|---|
committer | 2020-03-26 17:38:51 -0400 | |
commit | b75d134f6a725b2d51257f0df2e6863014b3e5b8 (patch) | |
tree | 7bcd557963a80185c038f5d3694c12eab753ab25 /modules/textadept/run.lua | |
parent | 940732342827ebe0d3bb98740419f621f9c77391 (diff) | |
download | textadept-b75d134f6a725b2d51257f0df2e6863014b3e5b8.tar.gz textadept-b75d134f6a725b2d51257f0df2e6863014b3e5b8.zip |
Removed extra sets of () around some buffer function calls.
The Scintilla iface was changed to not return a second string length value.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r-- | modules/textadept/run.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 6c9bef23..c130abc1 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -325,7 +325,7 @@ events.connect(events.CHAR_ADDED, function(code) if code == string.byte('\n') and proc and proc:status() == 'running' and buffer._type == _L['[Message Buffer]'] then local line_num = buffer:line_from_position(buffer.current_pos) - 1 - proc:write((buffer:get_line(line_num))) + proc:write(buffer:get_line(line_num)) end end) |