about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-18 12:07:50 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-18 12:07:50 -0700
commitedcd3d7a9a255bc7a02dad4a28c797fd7406010b (patch)
treee3cf30c50c34c94ddcbdd791b12bc99155230d36 /text.lua
parent1d3c9f47085ee5d9cfa37d988d53f2dfead0195a (diff)
downloadlines.love-edcd3d7a9a255bc7a02dad4a28c797fd7406010b.tar.gz
dead code
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/text.lua b/text.lua
index 9c4a009..3c91361 100644
--- a/text.lua
+++ b/text.lua
@@ -525,8 +525,6 @@ end
 
 function Text.end_of_line(State)
   State.cursor1.pos = utf8.len(State.lines[State.cursor1.line].data) + 1
-  local botpos = Text.pos_at_start_of_screen_line(State, State.cursor1)
-  local botline1 = {line=State.cursor1.line, pos=botpos}
   if Text.cursor_out_of_screen(State) then
     Text.snap_cursor_to_bottom_of_screen(State)
   end