about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-07-28 19:11:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-07-28 19:11:56 -0700
commita8158f97177be80ebfcf70df49fe6ba281450d07 (patch)
treec95a7a3acf1e6c1e97d79e8b9e11c622e32c87df
parent21e2d8cf3bcb060a87c39fa8977ff6d3df523a12 (diff)
downloadlines.love-a8158f97177be80ebfcf70df49fe6ba281450d07.tar.gz
stop returning unused value
-rw-r--r--edit.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/edit.lua b/edit.lua
index 1d7f758..118e0ea 100644
--- a/edit.lua
+++ b/edit.lua
@@ -152,7 +152,6 @@ function edit.put_cursor_on_next_text_line(State)
   end
 end
 
--- return y drawn until
 function edit.draw(State)
   State.button_handlers = {}
   love.graphics.setFont(State.font)
@@ -202,7 +201,6 @@ function edit.draw(State)
   if State.search_term then
     Text.draw_search_bar(State)
   end
-  return y
 end
 
 function edit.update(State, dt)